Re: [heycam/webidl] Make [Exposed] mandatory, remove [PrimaryGlobal] (#423)

tobie commented on this pull request.



> @@ -4684,16 +4739,24 @@ An interface |A| is considered to be a
     For example, if author 1 writes:
 
     <pre highlight="webidl">
+        [Global,Exposed=Window]

Not according to the current spec which says (emphasis mine):

> If the [Global] or [PrimaryGlobal] extended attribute is declared with an identifier list argument, then those identifiers are the interface’s global names; _otherwise, the interface has a single global name, which is the interface’s identifier_. 

-- 
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/423#discussion_r134763079

Received on Wednesday, 23 August 2017 14:13:12 UTC