-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
feature definitionCreating or defining new features or groups of features.Creating or defining new features or groups of features.
Description
WebHID should be compute_from api.HIDDevice.open (record usage when script attempts to open a device) to match how it is recorded in Chromium.
web-features/features/webhid.yml
Line 6 in 35f9d13
| compute_from: api.Navigator.hid |
Usage of the navigator.hid attribute is misleading because script may access this to detect browser capabilities without intending to use those capabilities. HIDDevice.open is a much stronger usage signal as it can only be called after permission UI has been shown and the user has granted access.
Metadata
Metadata
Assignees
Labels
feature definitionCreating or defining new features or groups of features.Creating or defining new features or groups of features.