[Bug 20567] Change [[Prototype]] for concept-node-adopt?


--- Comment #18 from Boris Zbarsky <bzbarsky@mit.edu> ---
Non-Node objects are an interesting question, yes.  It may be that the right
thing is to reparent them in some cases if they will effectively get reparented
by GC...

> I don't see how WebIDL could possibly do that.

Define what "foo instanceof SomeWebIDLObject" does, you mean?  It just can; ES6
is adding hooks for allowing the RHS to do whatever it wants to for instanceof.

So in particular, any element will test true for "instanceof anywindow.Element"
with the proposed WebIDL changes.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Friday, 25 January 2013 20:09:38 UTC