- From: Boris Zbarsky <notifications@github.com>
- Date: Fri, 22 Feb 2019 13:09:47 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 22 February 2019 21:10:09 UTC
bzbarsky commented on this pull request.
> @@ -12438,6 +12436,12 @@ object is associated with.
1. [=list/iterate|For every=] [=LegacyWindowAlias identifier|identifier=] |id| in
[{{LegacyWindowAlias}}]'s [=LegacyWindowAlias identifier|identifiers=]:
1. Perform [=!=] [$CreateMethodProperty$](|target|, |id|, |interfaceObject|).
+ 1. If the |interface| is declared with a [{{NamedConstructor}}] [=extended attribute=],
+ then:
+ 1. [=list/iterate|For every=] [=NamedConstructor identifier=] |id| on |interface|:
Per spec there can be many. https://heycam.github.io/webidl/#NamedConstructor explicitly says "Multiple [NamedConstructor] extended attributes may appear on a given interface.".
Now in practice no one does that for the uses we have for NamedConstructor right now, so maybe we should simplify things...
--
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/648#discussion_r259511082
Received on Friday, 22 February 2019 21:10:09 UTC