- From: Ms2ger <notifications@github.com>
- Date: Mon, 01 Apr 2019 04:58:31 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <heycam/webidl/pull/700/review/221067294@github.com>
Ms2ger commented on this pull request. > The [{{NoInterfaceObject}}] extended attribute must not be specified on an interface that has any -[=static operations=] defined on it. +[=constructors=] or [=static operations=] defined on it. + +Note: Combining the [{{NoInterfaceObject}}] and [{{NamedConstructor}}] extended attribute is not +forbidden, however. I wanna remove `[NoInterfaceObject]` anyway. > + interface Circle { + constructor(); + constructor(double radius); + attribute double r; + attribute double cx; + attribute double cy; + readonly attribute double circumference; + }; + </pre> + + An ECMAScript implementation supporting these interfaces would have a \[[Construct]] property + on the <code class="idl">Circle</code> interface object which would return a new object that + [=implements=] the interface. + It would take either zero or one argument. + The <code class="idl">NodeList</code> interface object would not have a \[[Construct]] + property. Unclear: https://github.com/heycam/webidl/issues/698. -- 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/700#discussion_r270832250
Received on Monday, 1 April 2019 11:58:55 UTC