iodide-project / iodide-project/iodide

Bluetooth.requestDevice doesn't work from a cross origin iframe

Open
#996 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.