WebXR: Require user activation (aka gesture) to create AR sessions |
|||||
Issue descriptionAR APIs provide information about the user's environment and require a permission ( issue 835037 ). As with other powerful APIs, this requires user activation. Currently, WebXR Device API only requires user activation for exclusive sessions (i.e., HMD presentation). For AR, all sessions, including those that are non-exclusive, require user activation.
,
Apr 26 2018
,
May 4 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1a52fe03f059e376c2db24ec63cbe2ba54705222 commit 1a52fe03f059e376c2db24ec63cbe2ba54705222 Author: Bill Orr <billorr@chromium.org> Date: Fri May 04 23:01:27 2018 WebXR: Require user activation to create AR sessions BUG= 835039 Change-Id: If61cc049fd0f8d18de7bdd7df7ff71a9dd8f699b Reviewed-on: https://chromium-review.googlesource.com/1041217 Commit-Queue: Bill Orr <billorr@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: David Dorwin <ddorwin@chromium.org> Cr-Commit-Position: refs/heads/master@{#556234} [modify] https://crrev.com/1a52fe03f059e376c2db24ec63cbe2ba54705222/content/child/runtime_features.cc [modify] https://crrev.com/1a52fe03f059e376c2db24ec63cbe2ba54705222/third_party/WebKit/LayoutTests/xr/xrDevice_requestSession_exclusive_no_gesture.html [modify] https://crrev.com/1a52fe03f059e376c2db24ec63cbe2ba54705222/third_party/blink/public/platform/web_runtime_features.h [modify] https://crrev.com/1a52fe03f059e376c2db24ec63cbe2ba54705222/third_party/blink/renderer/modules/xr/xr_device.cc [modify] https://crrev.com/1a52fe03f059e376c2db24ec63cbe2ba54705222/third_party/blink/renderer/platform/exported/web_runtime_features.cc [modify] https://crrev.com/1a52fe03f059e376c2db24ec63cbe2ba54705222/third_party/blink/renderer/platform/runtime_enabled_features.json5
,
May 7 2018
,
May 9 2018
Verified while playing with the AR Codelab.
,
Jul 4
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ddorwin@chromium.org
, Apr 23 2018