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

The best I can think of is that rather than a copy we create a list of pointers. And then when a listener is removed some kind of "removed flag" gets set that is checked by the invoke algorithm. The concept of iteration over a live list isn't really defined (ideally IDL would define some constructs for us).

Would that work @bzbarsky?

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

Received on Wednesday, 11 November 2015 12:05:44 UTC