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

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