- From: Boris Zbarsky <notifications@github.com>
- Date: Tue, 26 Feb 2019 09:49:22 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 February 2019 17:49:44 UTC
> What is the reason that "implements" and "is a platform object" need to deal with WindowProxy? Here's a simple example. Let's say I do: ``` window.addEventListener("foo", () => {}); ``` What should happen? When `addEventListener` is called we land in the steps defined in https://heycam.github.io/webidl/#dfn-create-operation-function step 2.1. In step 2.1.2.4, _O_ is the WindowProxy. So as currently written that check will fail, since a WindowProxy tests false for "is a platform object". That's not the behavior we want. -- 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/656#issuecomment-467541516
Received on Tuesday, 26 February 2019 17:49:44 UTC