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

annevk commented on this pull request.



>          interface Window {
           // ...
         };
 
         // By using the same identifier Worker for both SharedWorkerGlobalScope
         // and DedicatedWorkerGlobalScope, both can be addressed in an [Exposed]
         // extended attribute at once.
-        [Global=Worker]
+        [Exposed=Window, Global=Worker]

Well that works, but that makes no sense. You don't want to expose the global interface object in multiple globals.

-- 
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_r134773260

Received on Wednesday, 23 August 2017 14:46:48 UTC