- From: Tobie Langel <notifications@github.com>
- Date: Wed, 23 Aug 2017 14:27:54 +0000 (UTC)
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 August 2017 14:28:18 UTC
tobie 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]
>From the text right above, my understanding is this should work:
```webidl
// By using the same identifier Worker for both SharedWorkerGlobalScope
// and DedicatedWorkerGlobalScope, both can be addressed in an [Exposed]
// extended attribute at once.
[Exposed=Worker, Global=Worker]
interface SharedWorkerGlobalScope : WorkerGlobalScope {
// ...
};
[Exposed=Worker, Global=Worker]
interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
// ...
};
```
--
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_r134767568
Received on Wednesday, 23 August 2017 14:28:18 UTC