New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sample of navigator.permissions.request #371

Merged
merged 1 commit into from Aug 11, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

View
@@ -1750,7 +1750,7 @@ spec: html
services: ['heart_rate'],
}]
}).then(result => {
if (result.<a idl for="BluetoothPermissionResult">devices</a>.length > 1) {
if (result.<a idl for="BluetoothPermissionResult">devices</a>.length >= 1) {
return result.devices[0];
} else {
throw new <a idl>DOMException</a>("Chooser cancelled", "NotFoundError");
ProTip! Use n and p to navigate between commits in a pull request.