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

--- 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.4.0 : Friday, 17 January 2020 17:14:08 UTC