Skip to content

Commit

Permalink
chore: update WPT (#3626)
Browse files Browse the repository at this point in the history
Co-authored-by: Uzlopak <[email protected]>
  • Loading branch information
github-actions[bot] and Uzlopak authored Sep 20, 2024
1 parent c153875 commit 4b1328f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/fixtures/wpt/interfaces/webhid.idl
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
[SameObject] readonly attribute HID hid;
};

[Exposed=(DedicatedWorker,ServiceWorker), SecureContext]
[Exposed=ServiceWorker, SecureContext]
partial interface WorkerNavigator {
[SameObject] readonly attribute HID hid;
};

[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
[Exposed=(Window,ServiceWorker), SecureContext]
interface HID : EventTarget {
attribute EventHandler onconnect;
attribute EventHandler ondisconnect;
Expand All @@ -33,7 +33,7 @@ dictionary HIDDeviceFilter {
unsigned short usage;
};

[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
[Exposed=Window, SecureContext]
interface HIDDevice : EventTarget {
attribute EventHandler oninputreport;
readonly attribute boolean opened;
Expand All @@ -51,7 +51,7 @@ interface HIDDevice : EventTarget {
Promise<DataView> receiveFeatureReport([EnforceRange] octet reportId);
};

[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
[Exposed=Window, SecureContext]
interface HIDConnectionEvent : Event {
constructor(DOMString type, HIDConnectionEventInit eventInitDict);
[SameObject] readonly attribute HIDDevice device;
Expand All @@ -61,7 +61,7 @@ dictionary HIDConnectionEventInit : EventInit {
required HIDDevice device;
};

[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
[Exposed=Window, SecureContext]
interface HIDInputReportEvent : Event {
constructor(DOMString type, HIDInputReportEventInit eventInitDict);
[SameObject] readonly attribute HIDDevice device;
Expand Down

0 comments on commit 4b1328f

Please sign in to comment.