- From: Daniel Ehrenberg <notifications@github.com>
- Date: Wed, 12 Dec 2018 08:43:33 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 12 December 2018 16:43:55 UTC
littledan commented on this pull request. > Every [=platform object=] is associated with a global environment, just as the [=initial objects=] are. It is the responsibility of specifications using Web IDL to state which global environment (or, by proxy, which global object) each platform object is associated with. +<div algorithm> + To <dfn>create an object implementing the interface</dfn> |interface|, with optional + intenal slots |slots|, for an interface which is not declared with the + [{{Global}}] [=extended attribute=], perform the following steps: + + 1. If |slots| is provided, append \[[PrimaryInterface]] to |slots|. + 1. Otherwise, let |slots| be « \[[PrimaryInterface]] ». + 1. Let |proto| be the [=interface prototype object=] of |interface|. Oh, of course, I was thinking about interfaces extending other interfaces. I didn't realize that browsers actually used new.target from platform constructors this way; changed the draft spec to reflect that. -- 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/pull/595#discussion_r241093432
Received on Wednesday, 12 December 2018 16:43:55 UTC