- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 16 May 2017 23:09:54 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 May 2017 06:10:26 UTC
@miketaylr when explicitly leaking the event object outside the shadow tree it's reasonable for things to leak. The problem is that if you just call a global function from the event listener even though it doesn't have access to the event normally, it will have access to `window.event`, which is a problem of sorts. I suggest we basically don't set `window.event` when the event target is inside a shadow tree. That should be compatible enough since shadow trees are a new feature. -- 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/334#issuecomment-301995157
Received on Wednesday, 17 May 2017 06:10:26 UTC