Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exclusionFilters option in requestDevice() #93

Merged
merged 3 commits into from
Mar 24, 2022

Conversation

beaufortfrancois
Copy link
Contributor

@beaufortfrancois beaufortfrancois commented Feb 21, 2022

This PR is about a new "exclusionFilters" option in navigator.hid.requestDevice() so that developers can exclude from the browser picker some known devices that are known to not work as expected.

Currently, developers let users pick a device, then check against a custom helper function (like deviceIsBlocklisted()) if device is known to be malfunctioning.

// Request access to a device with vendor ID 0xABCD. The device must also have a
// collection with usage page Consumer (0x000C) and usage ID Consumer Control
// (0x0001). The device with product ID 0x1234 has been reported as malfunctioning.
const devices = await navigator.hid.requestDevice({
  filters: [{ vendorId: 0xabcd, usagePage: 0x000c, usage: 0x0001 }],
  exclusionFilters: [{ vendorId: 0xabcd, productId: 0x1234 }],
});

Please have a look @nondebug

index.html Show resolved Hide resolved
index.html Outdated
@@ -1263,6 +1273,61 @@ <h4>
</li>
</ol>
</section>
<section data-dfn-for="HIDDeviceExclude">
<h4>
<dfn>HIDDeviceExclude</dfn> dictionary
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's not much value in defining a new dictionary type for exclusion filters. Let's reuse HIDDeviceFilter for the exclusion filters and specify that usagePage and usage must not be defined when a HIDDeviceFilter is used for exclusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I think it makes more sense to treat exclusion filters exactly the same as normal (inclusion?) filters other than whether they include or exclude. If the filters look the same they should behave the same. Let's allow filtering by usagePage and usage (even though I can't think of a good reason to do that). In the future I think we may add filter parameters for connection type (usb, bluetooth, etc) and it would be nice to not need duplicate language in the spec for inclusion vs exclusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated spec PR based on your feedback. Please have another look.

index.html Outdated Show resolved Hide resolved
@beaufortfrancois beaufortfrancois changed the title Add excludes option in requestDevice() Add exclusionFilters option in requestDevice() Mar 1, 2022
@beaufortfrancois
Copy link
Contributor Author

@nondebug I've updated the PR based on your feedback. Please have another look.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 1, 2022
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: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 4, 2022
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: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 4, 2022
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: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 14, 2022
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: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
Copy link
Collaborator

@nondebug nondebug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay, these changes LGTM

@beaufortfrancois
Copy link
Contributor Author

@nondebug Thank you. I can't merge this PR, please do.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 24, 2022
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: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 24, 2022
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: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 24, 2022
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 ship: TODO
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 24, 2022
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 ship: TODO
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 24, 2022
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 ship: TODO
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
@nondebug nondebug merged commit fcff4a1 into WICG:main Mar 24, 2022
github-actions bot added a commit that referenced this pull request Mar 24, 2022
SHA: fcff4a1
Reason: push, by @nondebug

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 25, 2022
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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 29, 2022
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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
aarongable pushed a commit to chromium/chromium that referenced this pull request Mar 29, 2022
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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3478175
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Auto-Submit: Fr <beaufort.francois@gmail.com>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#986496}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 29, 2022
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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3478175
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Auto-Submit: Fr <beaufort.francois@gmail.com>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#986496}
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 8, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 11, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 14, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request Apr 15, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request Apr 15, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request Apr 16, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request Apr 16, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request Apr 16, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 20, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 21, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 22, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 26, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request Apr 27, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request Apr 28, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 3, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 4, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 4, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 4, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 4, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 5, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 5, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 6, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request May 6, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 11, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
emerick pushed a commit to brave/brave-core that referenced this pull request May 11, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 12, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 12, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
cdesouza-chromium added a commit to brave/brave-core that referenced this pull request May 13, 2022
Chromium change:
https://chromium.googlesource.com/chromium/src/+/c655f4ee8c6a16058886450db522ceb00d285e6a

commit c655f4ee8c6a16058886450db522ceb00d285e6a
Author: François Beaufort <beaufort.francois@gmail.com>
Date:   Tue Mar 29 15:06:28 2022 +0000

    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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
    Spec: WICG/webhid#93
    Demo: https://hid-exclusion-filters.glitch.me/

    Bug: 1301934
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
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 ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/DPAaLnuaOH4
Spec: WICG/webhid#93
Demo: https://hid-exclusion-filters.glitch.me/

Change-Id: If16eb4c788de2acd2454009449699cbbcd6039b8
Bug: 1301934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3478175
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Auto-Submit: Fr <beaufort.francois@gmail.com>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#986496}
NOKEYCHECK=True
GitOrigin-RevId: c655f4ee8c6a16058886450db522ceb00d285e6a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants