Re: [heycam/webidl] Remove use of [Constructor] extended attribute (#798)

clelland commented on this pull request.



> @@ -6799,7 +6802,7 @@ which form (or forms) it is in:
             <dfn id="dfn-xattr-argument-list" for="extended attribute" export>takes an argument list</dfn>
         </td>
         <td>
-            <code>[Constructor(double x, double y)]</code>
+            Not currently used; previously used by <code>[Constructor(double x, double y)]</code>

Nope -- it uses named argument list, rather than just argument list:

> [The [NamedConstructor] extended attribute must either take an identifier or take a named argument list.](https://heycam.github.io/webidl/#NamedConstructor)

It's possible that implementer-specific attributes still use this (I haven't checked Blink's list); that's the only reason I didn't try to remove it entirely.

-- 
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/798#discussion_r327160255

Received on Monday, 23 September 2019 14:52:00 UTC