Skip to content

Commit

Permalink
Add support for DedicatedWorker
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois authored and nondebug committed Sep 13, 2024
1 parent dd7938d commit b5e588e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ <h2>
Extensions to the `WorkerNavigator` interface
</h2>
<pre class="idl">
[Exposed=ServiceWorker, SecureContext]
[Exposed=(DedicatedWorker,ServiceWorker), SecureContext]
partial interface WorkerNavigator {
[SameObject] readonly attribute HID hid;
};
Expand All @@ -285,7 +285,7 @@ <h2>
`HID` interface
</h2>
<pre class="idl">
[Exposed=(Window,ServiceWorker), SecureContext]
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
interface HID : EventTarget {
attribute EventHandler onconnect;
attribute EventHandler ondisconnect;
Expand Down Expand Up @@ -981,9 +981,9 @@ <h3>
<li>Let |promise:Promise| be [=a new promise=].
</li>
<li>Let |document:Document| be `null`.</li>
<li>If [=this=]'s [=relevant global object=] is a {{Window/window}} object,
set |document| to [=this=]'s [=relevant global object=]'s
[=associated Document=].
<li>If [=this=]'s [=relevant global object=] is a {{DedicatedWorkerGlobalScope}}
or {{Window/window}} object, set |document| to [=this=]'s
[=relevant global object=]'s [=associated Document=].
</li>
<li>If [=this=]'s [=relevant global object=] is a {{ServiceWorkerGlobalScope}}
object and the associated [=service worker client=] is
Expand Down Expand Up @@ -1361,7 +1361,7 @@ <h2>
`HIDDevice` interface
</h2>
<pre class="idl">
[Exposed=Window, SecureContext]
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
interface HIDDevice : EventTarget {
attribute EventHandler oninputreport;
readonly attribute boolean opened;
Expand Down Expand Up @@ -2011,7 +2011,7 @@ <h2>
`HIDConnectionEvent` interface
</h2>
<pre class="idl">
[Exposed=Window, SecureContext]
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
interface HIDConnectionEvent : Event {
constructor(DOMString type, HIDConnectionEventInit eventInitDict);
[SameObject] readonly attribute HIDDevice device;
Expand Down Expand Up @@ -2050,7 +2050,7 @@ <h2>
`HIDInputReportEvent` interface
</h2>
<pre class="idl">
[Exposed=Window, SecureContext]
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
interface HIDInputReportEvent : Event {
constructor(DOMString type, HIDInputReportEventInit eventInitDict);
[SameObject] readonly attribute HIDDevice device;
Expand Down

0 comments on commit b5e588e

Please sign in to comment.