- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 18 Sep 2019 01:34:25 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 18 September 2019 08:34:48 UTC
domenic commented on this pull request.
> <div algorithm>
The [=interface object=] for a given [=interface=] |I|
with [=identifier=] |id| and in [=Realm=] |realm|
is <dfn lt="create an interface object">created</dfn> as follows:
- 1. Let |steps| be the following steps:
+ 1. Let |steps| be |I|'s [=overriden constructor steps=] if they exist, or
+ the following steps otherwise:
1. If |I| was not declared with a [=constructor operation=],
then [=ECMAScript/throw=] a {{ECMAScript/TypeError}}.
1. If {{NewTarget}} is <emu-val>undefined</emu-val>, then
I guess that would work for [HTMLConstructor], although it feels cleaner to just have a general primitive that replaces the whole thing.
--
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/797#discussion_r325547928
Received on Wednesday, 18 September 2019 08:34:48 UTC