- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 05 Apr 2018 10:40:00 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 5 April 2018 10:40:25 UTC
FWIW, it seems that at least Chrome shifts the relevant global object in that case, see:
```html
.<iframe></iframe>
<script>
class X extends frames[0].EventTarget {};
obj = new X();
obj.addEventListener("hi", () => w(window.event));
obj.dispatchEvent(new Event("hi"));
</script>
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/540#issuecomment-378893702
Received on Thursday, 5 April 2018 10:40:25 UTC