From 1f6562f86fe4bd4a1c63da4fdbd60d664c495abd Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Tue, 22 Oct 2024 15:12:09 +0200 Subject: [PATCH] Add more keys to WebHID --- features/webhid.yml | 33 +++++++++++++++++++++++++++++++++ features/webhid.yml.dist | 10 ++++++++++ 2 files changed, 43 insertions(+) diff --git a/features/webhid.yml b/features/webhid.yml index 108abf0c993..84602593508 100644 --- a/features/webhid.yml +++ b/features/webhid.yml @@ -4,3 +4,36 @@ spec: https://wicg.github.io/webhid/ caniuse: webhid status: compute_from: api.Navigator.hid +compat_features: + - api.HID + - api.HID.connect_event + - api.HID.disconnect_event + - api.HID.getDevices + - api.HID.requestDevice + - api.HID.worker_support + - api.HIDConnectionEvent + - api.HIDConnectionEvent.HIDConnectionEvent + - api.HIDConnectionEvent.device + - api.HIDConnectionEvent.worker_support + - api.HIDDevice + - api.HIDDevice.close + - api.HIDDevice.collections + - api.HIDDevice.forget + - api.HIDDevice.inputreport_event + - api.HIDDevice.open + - api.HIDDevice.opened + - api.HIDDevice.productId + - api.HIDDevice.productName + - api.HIDDevice.receiveFeatureReport + - api.HIDDevice.sendFeatureReport + - api.HIDDevice.sendReport + - api.HIDDevice.vendorId + - api.HIDDevice.worker_support + - api.HIDInputReportEvent + - api.HIDInputReportEvent.data + - api.HIDInputReportEvent.device + - api.HIDInputReportEvent.reportId + - api.HIDInputReportEvent.worker_support + - api.Navigator.hid + - api.WorkerNavigator.hid + - http.headers.Permissions-Policy.hid diff --git a/features/webhid.yml.dist b/features/webhid.yml.dist index 30f104bddb9..2b6993d3e50 100644 --- a/features/webhid.yml.dist +++ b/features/webhid.yml.dist @@ -45,6 +45,16 @@ compat_features: - api.HIDInputReportEvent.reportId - api.Navigator.hid + # baseline: false + # support: + # chrome: "100" + # edge: "100" + - api.HIDDevice.forget + # baseline: false # support: {} + - api.HID.worker_support + - api.HIDConnectionEvent.worker_support + - api.HIDDevice.worker_support + - api.HIDInputReportEvent.worker_support - api.WorkerNavigator.hid