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:03:04 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20567-3890-jY3q0ZFCZI@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20567

--- Comment #17 from Maciej Stachowiak <mjs@apple.com> ---
(In reply to comment #10)
> Maciej, you tell me.

I don't know of any web compatibility reason to either modify or preserve the
prototype of any objects transferred between documents.

>  Safari does the same thing.  Only in a gc-dependent way...

>From what I can tell, the behavior proposed in this bug is also gc-dependent
(for all non-Node objects).

(In reply to comment #13)
> >    (a) Passing any object between windows breaks instanceof
> 
> That's being changed for nodes in WebIDL, note.  So the instanceof argument
> is moot anyway, for WebIDL objects.

I don't see how WebIDL could possibly do that. Is it redefining the ECMAScript
assignment operator, or ES function call semantics? It might be able to alter
the case where a window directly retrieves nodes from another window's document
but surely not any other form of "passing".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 25 January 2013 20:03:08 UTC

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