Detecting the "type" of a DOM object
Boris Zbarsky
bzbarsky at MIT.EDU
Fri Jun 22 10:20:47 PDT 2012
On 6/22/12 1:12 PM, Brandon Benvie wrote:
> While the issue identified may not be particularly related to multiple
> inheritance, the issue in general I think is a looming one in terms of
> the goal of being able to self-host the DOM in JS. It seems to be
> becoming more and more common for various kinds of partial
> interfaces/supplement/implements to be used in newer IDLs and many of
> those are difficult/impossible to fully represent in JavaScript without
> a lot of redundancy or backflips.
Partial interfaces should be a non-issue.
There is no supplement.
"implements" is a bit of a pain, yes. Not just in JavaScript: see the
recent thread on public-script-coord about the this-unwrapping behavior
of "implements"....
-Boris
More information about the es-discuss
mailing list