[wpt-sync] Sync PR 10130 - Make BlueTooth/USB requestDevice check activation w/o consuming.

RESOLVED FIXED in Firefox 61

Status

()

enhancement
P3
normal
RESOLVED FIXED
Last year
Last year

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla61
Points:
---

Firefox Tracking Flags

(firefox61 fixed)

Details

(Whiteboard: [wptsync downstream], )

Sync web-platform-tests PR 10130 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10130
Details from upstream follow.

Mustaq Ahmed <mustaq@google.com> wrote:
>  Make BlueTooth/USB requestDevice check activation w/o consuming.
>  
>  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
>  WPT-Export-Revision: 4639261baa9d0c3f08a7da4974ed8160e828d4ef
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
P4 is unused to setting priority to P3.
Priority: P4 → P3
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/21f189e1f5c9
[wpt PR 10130] - Make BlueTooth/USB requestDevice non-consuming., a=testonly
https://hg.mozilla.org/mozilla-central/rev/21f189e1f5c9
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.