← Back to release summary

Web Bluetooth exclusionFilters option in requestDevice()

Category
Device
Type
Chromium catches up
Status
Enabled by default (Chrome 114)
Intent stage
None

WPT details: No, because browser picker implementation is implemented outside of Blink and so isn’t testable fully by web-platform-tests.

Summary

The "exclusionFilters" option in navigator.bluetooth.requestDevice() allows web developers to exclude some devices from the browser picker. It can be used to exclude devices that match a broader filter but are unsupported.

Standards & signals

Ecosystem

Docs: https://developer.chrome.com/articles/bluetooth/#exclusion-filters

Samples: https://googlechrome.github.io/samples/web-bluetooth/exclusion-filters.html

View on chromestatus.com