Re: [whatwg/dom] window.event and shadow trees (#679)

We do adjust `e.target` (see https://dom.spec.whatwg.org/#concept-event-listener-invoke for details) during dispatch, but in the specific case of a shadow tree listener invoking a global function it will leak if either the global function already had access to `e` (capture listener) or gets it from `window.event`.

-- 
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/679#issuecomment-413825881

Received on Friday, 17 August 2018 10:34:00 UTC