Re: [whatwg/dom] Owned weak event listener to prevent memory leak (using EventListenerOptions) (#243)

Sorry for the confusion. I'm speaking of only scenarios where the event target outlives its event listeners. You see this a lot in single page web applications which are beginning to be more common, so event listening GC does not apply for these scenarios.

Two things come to mind with the `owner`:

1. Based on the proposal, the `owner` will always be fixed and, once passed, cannot change. What happens if DOM is manipulated between the time you pass it to add listener and the time you remove it?
1. Is there any value of passing an owner? when that owner can be implied already by querying `parentNode` or similar?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/243#issuecomment-217873947

Received on Monday, 9 May 2016 14:09:31 UTC