- From: <bugzilla@jessica.w3.org>
- Date: Mon, 14 Oct 2013 18:42:50 +0000
- To: public-script-coord@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20567 --- Comment #36 from Bobby Holley (:bholley) <bobbyholley@gmail.com> --- (In reply to Geoffrey Garen from comment #35) > 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. We can't move event handlers, that's for sure. But we could pretty easily spec that adopting a node clears all event handlers. Unless I'm missing something? Even if we couldn't do that, we'd still be looking at a significant reduction in world-leaking, since most nodes won't have event handlers. -- You are receiving this mail because: You are on the CC list for the bug.
Received on Monday, 14 October 2013 18:42:52 UTC