- From: <bugzilla@jessica.w3.org>
- Date: Mon, 14 Oct 2013 17:56:28 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20567 --- Comment #35 from Geoffrey Garen <ggaren@apple.com> --- > 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. What about event handlers? Event handlers will still reference their originating contexts through their scope chains, leaking the world. I don't think we can change the scope chain of an event handler, since it's just a JavaScript function, and changing its scope chain will likely break its functionality. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Monday, 14 October 2013 17:56:32 UTC