- From: Scott Haseley <notifications@github.com>
- Date: Fri, 03 Jun 2022 17:02:13 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 4 June 2022 00:02:25 UTC
It looks like all the engines don't run subsequent listeners after the event target's context gets detached. For Blink and WebKit, this follows from where we're checking this; for Gecko, I think the listeners get cleared on detach, so iteration over the listeners stops after detach. And yeah, there would need to be a check in https://dom.spec.whatwg.org/#concept-event-listener-inner-invoke to account for detaching from a listener. I'll try to send a PR next week along with some tests. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1084#issuecomment-1146467205 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1084/1146467205@github.com>
Received on Saturday, 4 June 2022 00:02:25 UTC