7
7
[SameObject] readonly attribute HID hid;
8
8
};
9
9
10
- [Exposed=ServiceWorker, SecureContext]
10
+ [Exposed=(DedicatedWorker, ServiceWorker) , SecureContext]
11
11
partial interface WorkerNavigator {
12
12
[SameObject] readonly attribute HID hid;
13
13
};
14
14
15
- [Exposed=(Window ,ServiceWorker), SecureContext]
15
+ [Exposed=(DedicatedWorker ,ServiceWorker,Window ), SecureContext]
16
16
interface HID : EventTarget {
17
17
attribute EventHandler onconnect;
18
18
attribute EventHandler ondisconnect;
@@ -33,7 +33,7 @@ dictionary HIDDeviceFilter {
33
33
unsigned short usage;
34
34
};
35
35
36
- [Exposed=Window, SecureContext]
36
+ [Exposed=(DedicatedWorker,ServiceWorker, Window) , SecureContext]
37
37
interface HIDDevice : EventTarget {
38
38
attribute EventHandler oninputreport;
39
39
readonly attribute boolean opened;
@@ -51,7 +51,7 @@ interface HIDDevice : EventTarget {
51
51
Promise<DataView> receiveFeatureReport([EnforceRange] octet reportId);
52
52
};
53
53
54
- [Exposed=Window, SecureContext]
54
+ [Exposed=(DedicatedWorker,ServiceWorker, Window) , SecureContext]
55
55
interface HIDConnectionEvent : Event {
56
56
constructor(DOMString type, HIDConnectionEventInit eventInitDict);
57
57
[SameObject] readonly attribute HIDDevice device;
@@ -61,7 +61,7 @@ dictionary HIDConnectionEventInit : EventInit {
61
61
required HIDDevice device;
62
62
};
63
63
64
- [Exposed=Window, SecureContext]
64
+ [Exposed=(DedicatedWorker,ServiceWorker, Window) , SecureContext]
65
65
interface HIDInputReportEvent : Event {
66
66
constructor(DOMString type, HIDInputReportEventInit eventInitDict);
67
67
[SameObject] readonly attribute HIDDevice device;
0 commit comments