iodide-project / iodide-project/iodide
Bluetooth.requestDevice doesn't work from a cross origin iframe
Open
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
When playing around with the Muse EEG headset, @teonbrooks noticed that you can't call [Bluetooth.requestDevice](https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth/requestDevice) from a cross origin iframe (presumably for security reasons).
I guess we'll need a message passing solution to/from the editor frame to make this work.
(Can still proceed using the local server where things are on the same domain, though).
Contributor guide
Assessment
This issue has not been assessed yet.