New issue
Advanced search Search tips

Issue 621897 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Jun 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 0
Type: Bug

Blocking:
issue 420284



Sign in to add a comment

bluetooth: navigator.bluetooth.requestDevice works with no gesture

Project Member Reported by fbeaufort@chromium.org, Jun 21 2016

Issue description


Google Chrome	53.0.2768.0 (Official Build) dev (64-bit)
Revision	9cd2e77b728d6d5ac115acd944b37df70423c355-refs/heads/master@{#399800}
Platform	8459.0.0 (Official Build) dev-channel link

What steps will reproduce the problem?
(1) Go to https://google.com/ncr
(2) Open Dev Tools Console, paste code below and execute:

navigator.bluetooth.requestDevice({filters:[{services: ['battery_service']}]}).then(d => console.log(d));

What is the expected output?
Promise should fail because user gesture is required on navigator.bluetooth.requestDevice

What do you see instead?
Bluetooth chooser pops up.
 

Comment 1 by ortuno@chromium.org, Jun 21 2016

This is WAI. See  Issue 593241 .

Comment 2 by ortuno@chromium.org, Jun 21 2016

Status: Archived (was: Available)

Sign in to add a comment