W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2013

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 25 Jan 2013 20:09:32 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20567-3890-y5Mdx9Typi@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20567

--- 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

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:09 UTC