From 4b1328f773d290c723d0dc7ad4632780e32513ca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 09:30:33 +0900 Subject: [PATCH] chore: update WPT (#3626) Co-authored-by: Uzlopak <5059100+Uzlopak@users.noreply.github.com> --- test/fixtures/wpt/interfaces/webhid.idl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;