Revision 6ba01ea2ffbafbb329352628b244815654b38156 authored by Mustaq Ahmed on 06 April 2018, 14:14:32 UTC, committed by Blink WPT Bot on 06 April 2018, 14:33:48 UTC
The specs for both WebBlueTooth & WebUSB only require a user
activation during a requestDevice call.  So consuming the activation
(vs just checking) is not a strong requirement.  There was a concern
that "not consuming" could possibly mean multiple choosers for a single
user activation but our browser code already handles the situation
gracefully.  Multiple requests to browser is possible from different
tabs anyway, even with (isolated) consumptions in individual tabs.

Therefore it makes sense to remove the consumption behavior here,
which is not spec-ed anyway.  This would fit our goal of a simple
user activation model ("UserActivationV2" project) which should be
simple enough for cross-browser implementation and for a complete spec.

Bug: 786407
Change-Id: I3c9dbf43df34d4cb4a2a33214a6c44847fa7435b
Reviewed-on: https://chromium-review.googlesource.com/775866
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548768}
1 parent 0cddb68
History
File Mode Size
OWNERS -rw-r--r-- 33 bytes
api-is-present.html -rw-r--r-- 956 bytes
cancel-when-hidden-manual.html -rw-r--r-- 1.2 KB
cancel-with-0-manual.html -rw-r--r-- 1.1 KB
cancel-with-array-0-manual.html -rw-r--r-- 1.0 KB
cancel-with-empty-array-manual.html -rw-r--r-- 1.1 KB
cancel-with-new-manual.html -rw-r--r-- 1.3 KB
idl.html -rw-r--r-- 812 bytes
invalid-values.html -rw-r--r-- 2.0 KB
pattern-array-extra-manual.html -rw-r--r-- 948 bytes
pattern-array-manual.html -rw-r--r-- 807 bytes
pattern-array-with-0-manual.html -rw-r--r-- 693 bytes
silent-ignore.html -rw-r--r-- 1.3 KB
simple-array-manual.html -rw-r--r-- 664 bytes
simple-scalar-manual.html -rw-r--r-- 754 bytes

back to top