W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > July 2015

[web-bluetooth] Provide a way to pair when the user's paying attention

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Jul 2015 17:22:12 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issues.opened-93583274-1436289732-sysbot+gh@w3.org>
jyasskin has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Provide a way to pair when the user's paying attention ==
https://webbluetoothcg.github.io/web-bluetooth/#error-handling says 
that when the UA receives an "Insufficient Authentication" error, it 
should "attempt to increase the security level of the connection". 
However, increasing the security level may require pairing, which may 
require the user to interact with both their OS and the device, which 
we should only ask them to do after the site tells them what's going 
on.

We should 1) give the site a specific error message saying that it 
needs to ask the user to pair the device, and 2) give the site a way 
to trigger pairing when the user says they're ready. Triggering 
pairing should probably use the "[allowed to show a 
popup](https://html.spec.whatwg.org/multipage/browsers.html#allowed-to-show-a-popup)"
 language that `requestDevice()` uses.

See https://github.com/WebBluetoothCG/web-bluetooth/issues/137
Received on Tuesday, 7 July 2015 17:22:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 7 July 2015 17:22:15 UTC