[web-bluetooth] Make "simulated Bluetooth adapter" browser-wide (#635)

sadym-chromium has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

== Make "simulated Bluetooth adapter" browser-wide ==
Current CDP implementation allows only a browser-wide "simulated Bluetooth adapter", while specification requires it to be browsing-context specific. Switching to navigable-specific will be a breaking change.

We propose the following: make the "context" parameter of "bluetooth.SimulateAdapterParameters", "bluetooth.SimulatePreconnectedPeripheralParameters" and "bluetooth.SimulateAdvertisementParameters" optional. This would allow for both navigable's specific and global "simulated Bluetooth adapter". For now, until CDP implements navigable-specific "navigable's specific "simulated Bluetooth adapter", the implementation will return an error.

Note that probably "simulated Bluetooth adapter" is [user context](https://w3c.github.io/webdriver-bidi/#user-contexts)-specific.

Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/635 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 8 November 2024 14:28:40 UTC