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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20567

--- Comment #33 from Anne <annevk@annevk.nl> ---
At some point we only discussed adopting nodes and stopped talking about
window.open().

For adopting nodes we would need to change the node's inclusive descendants'
__proto__ as well as the __proto__ of their associated objects, such as
DOMTokenList and CSSStyleDeclaration.

The advantage here seems to be that we maintain consistency within the tree and
reduce memory leaks.

For window.open() Bobby describes in
http://lists.w3.org/Archives/Public/www-dom/2012OctDec/0173.html what we do in
Gecko, which seems to allow for collecting the previous tree, but not
necessarily the entire context. Is that correct?

If we still leak some of the old context it's hard to make a similar argument
here.

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

Received on Friday, 11 October 2013 09:14:12 UTC