diff --git a/test/fixtures/wpt/interfaces/webhid.idl b/test/fixtures/wpt/interfaces/webhid.idl index 56e3161caed..03e72511d96 100644 --- a/test/fixtures/wpt/interfaces/webhid.idl +++ b/test/fixtures/wpt/interfaces/webhid.idl @@ -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; @@ -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; @@ -51,7 +51,7 @@ interface HIDDevice : EventTarget { Promise 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; @@ -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;