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

Remove never-shipped Bluetooth APIs #9975

Merged
merged 1 commit into from
Apr 30, 2021
Merged

Conversation

foolip
Copy link
Collaborator

@foolip foolip commented Apr 20, 2021

The many all-No entries makes the compat tables look very messy:
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingData#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService#browser_compatibility

The removed APIs were all confirmed to not be supported on Chrome 90 on
macOS using these generated tests:
https://mdn-bcd-collector.appspot.com/tests/api/BluetoothDevice
https://mdn-bcd-collector.appspot.com/tests/api/BluetoothAdvertisingData
https://mdn-bcd-collector.appspot.com/tests/api/BluetoothRemoteGATTService

Additionally, Chromium's IDL shows most of this isn't there:
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/modules/bluetooth/bluetooth_device.idl;drc=02d4b05485a75ab044b42658284ae1134da1ebb9

The exception is watchAdvertisements/watchingAdvertisements which are
behind a flag, but removed anyway rather than filling out the data.

The getIncludedServices entry was also an outlier, it's not actually in
Chromium so the existing compat data was wrong.

The many all-No entries makes the compat tables look very messy:
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothAdvertisingData#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService#browser_compatibility

The removed APIs were all confirmed to not be supported on Chrome 90 on
macOS using these generated tests:
https://mdn-bcd-collector.appspot.com/tests/api/BluetoothDevice
https://mdn-bcd-collector.appspot.com/tests/api/BluetoothAdvertisingData
https://mdn-bcd-collector.appspot.com/tests/api/BluetoothRemoteGATTService

Additionally, Chromium's IDL shows most of this isn't there:
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/modules/bluetooth/bluetooth_device.idl;drc=02d4b05485a75ab044b42658284ae1134da1ebb9

The exception is watchAdvertisements/watchingAdvertisements which are
behind a flag, but removed anyway rather than filling out the data.

The getIncludedServices entry was also an outlier, it's not actually in
Chromium so the existing compat data was wrong.
@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Apr 20, 2021
@jpmedley jpmedley merged commit 6aad067 into mdn:main Apr 30, 2021
@foolip foolip deleted the bluetooth-cleanup branch April 30, 2021 19:30
ddbeck added a commit to ddbeck/browser-compat-data that referenced this pull request May 6, 2021
ddbeck added a commit to ddbeck/browser-compat-data that referenced this pull request May 6, 2021
ddbeck added a commit that referenced this pull request May 6, 2021
* Start v3.3.3 release

* Add release note for #9975

* Add release note for #10175

* Add release note for #10225

* Add release note for #10261

* Add release note for #10288

* Add stats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants