Re: [web-bluetooth] Using Bluetooth from WebExtension (#612)

Web Bluetooth is supported in extensions in Chromium-based browsers. In general isn't anything special the specification needs to do to be available in that context. I am not aware of any plans for another browser engine to support this API specifically in extensions but I think it's a great idea to mitigate the perceived risk.

The exception to that is that in Chromium we've recently shipped support for WebHID and WebUSB in Service Workers, but only for extensions, given that we aren't comfortable with any site being able to communicate with a device in the background, but background operation is typical for extensions. If an extension developer wanted to use Web Bluetooth from a Service Worker the specification would need to be updated to describe how the API behaves in that context as the specification currently only covers usage from a document.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/612#issuecomment-1740057739 using your GitHub account


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

Received on Thursday, 28 September 2023 21:59:11 UTC