Re: [dom] removeEventListener doesn't handle currently dispatching events (#84)

@annevk I thought the copy was to avoid invoking newly added listeners?  The behavior in Gecko is certainly that listeners added to the current target during dispatch to one of its listeners are NOT invoked, but listeners removed from it will also not be invoked if they haven't been already.  We don't make a list copy internally; we use an iterator along a live list that stops at what used to be the list end when the iterator started.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/84#issuecomment-143758815

Received on Monday, 28 September 2015 14:26:31 UTC