Closed Bug 1757558 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33014 - hid: Add exclusionFilters option to requestDevice

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33014 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33014
Details from upstream follow.

François Beaufort <beaufort.francois@gmail.com> wrote:

hid: Add exclusionFilters option to requestDevice

This CL adds a exclusionFilters option in navigator.usb.requestDevice()
so that developers can exclude from the browser picker some devices
that are known to not work as expected.
This feature is available behind the WebHIDExclusionFiltersOption blink
runtime feature.

Intent to prototype: TODO
Spec: https://github.com/WICG/webhid/pull/93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934

Reviewed-on: https://chromium-review.googlesource.com/3478175
WPT-Export-Revision: f5010788411e73d352efd25f8d43524c3d0eb6cf

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cbcd6aaa10db
[wpt PR 33014] - hid: Add exclusionFilters option to requestDevice, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.