Re: [whatwg/dom] Define a "has listeners for" algorithm on EventTarget (#660)

It should be fine. I don't know the event dispatching process too well, but could it be possible that when "firing an event at the `Window` object with *legacy target override flag* set", event listeners registered on another object were also invoked? I'm guessing no, but it happened to be true then merely checking if the `Window` object has an `unload` event listener wouldn't been enough… (`body.onload` doesn't count, as the event _listener_ is registered on `Window` still.)

-- 
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/pull/660#issuecomment-411945171

Received on Friday, 10 August 2018 01:12:50 UTC