Re: [heycam/webidl] Editorial: Better explanation of the Global extended attribute. (#749)

@annevk commented on this pull request.

Modulo adding syntax this seems reasonable to me.

@TimothyGu @domenic any other thoughts?

> @@ -8673,12 +8673,33 @@ for the specific requirements that the use of
 <h4 oldids="PrimaryGlobal" id="Global" extended-attribute lt="Global" dfn>[Global]</h4>
 
 If the [{{Global}}] [=extended attribute=] appears on an [=interface=],
-it indicates that objects implementing this interface can
-be used as the global object in a [=Realm=],
-and that the structure of the prototype chain and how
-properties corresponding to [=interface members=]
-will be reflected on the prototype objects will be different from other
-interfaces. Specifically:
+it indicates that objects implementing this interface will
+be used as the global object in a [=Realm=].
+
+The [{{Global}}] [=extended attribute=] also defines the
+<dfn id="dfn-global-name" export>global names</dfn> for the [=interface=]:
+
+<dl class="switch">
+     :  If the [{{Global}}] [=extended attribute=] [=takes no arguments=]
+     :: « the [=identifier=] of the [=interface=] itself »

This was not there before, I don't think it's needed?

-- 
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/749#pullrequestreview-402692299

Received on Wednesday, 29 April 2020 13:58:51 UTC