navigator.bluetooth
Web Bluetooth asks to pair with nearby low-energy devices. What the chooser shows, what the page gets afterwards, and why two engines refused it.
Checking the browser you are reading this in…
Entry in question 5: What it can plug into
What it is
An interface for talking to Bluetooth Low Energy devices — heart-rate straps, thermometers, lights, hardware keys — from a page rather than an app.
What a site can do with it
Nothing before a chooser, which the browser draws and which lists only devices matching filters the page declared in advance. After you pick one, the page can read and write its exposed characteristics. Both other engines declined to ship it on the grounds that the surrounding permission model is not strong enough for a radio that reaches your surroundings.
Check it yourself
Open your browser's developer tools, go to the console, and paste this. Nothing is sent anywhere; the answer comes from the browser you are reading this in.
!!navigator.bluetooth The full path recorded by the walk is navigator.bluetooth, and that is the string the leaflet prints beside this entry.
What the answer is on an ordinary browser
Written by hand for each of the three engines, because a table generated from one sentence would be worth nothing to the person reading it.
- Chrome
- Present on desktop and Android from Chrome 56. Absent on iOS.
- Firefox
- Absent, by a stated position rather than an oversight.
- Safari
- Absent, for the same reason.
If your browser is not present, the leaflet prints this instead of dimming the line: Not present. Sites checking for Bluetooth access find nothing.
Where it sits in the leaflet
This is one of 6 entries in question 5, what it can plug into. The leaflet reads all 42 entries in one press and prints each answer beside the question, with the property name next to it so you can check any line.
Read my browser · navigator.requestMIDIAccess · navigator.getGamepads