- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Oct 2019 16:18:28 +0000
- To: public-web-bluetooth-log@w3.org
Spec below says "_If the user has configured the UA to return a particular answer from this function for the current origin_". I believe it means user is in control of granting access to the website (think bluetooth permission), therefore this can change during the life of a webpage right? > The getAvailability() method, when invoked, MUST return a new promise promise and run the following steps in parallel: > > 1. **If the user has configured the UA to return a particular answer from this function for the current origin**, queue a task to resolve promise with the configured answer, and abort these steps. > 2. If the UA is running on a system that has a Bluetooth radio queue a task to resolve promise with true regardless of the powered state of the Bluetooth radio. > 3. Otherwise, queue a task to resolve promise with false. -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/459#issuecomment-546418430 using your GitHub account
Received on Friday, 25 October 2019 16:18:30 UTC