[meta] WebXR needs to ask permission before accessing XR hardware devices
Categories
(Core :: WebVR, enhancement, P2)
Tracking
()
People
(Reporter: kip, Assigned: kip)
References
(Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(8 files, 4 obsolete files)
The WebXR spec requires both a user gesture and signal of user intent before providing access to XR (eg, VR and AR headset) displays and sensors.
I propose that such a "signal of user intent" be presented with the same UX as the geolocation API requests. As per the geolocation requests, an indicator will be displayed in the URL bar to inform the user when WebXR sessions are active or have been blocked. When the WebXR API is not in use by the page, no additional indication will occupy the URL bar.
An option to control the sites that have been granted WebXR permissions would be provided on the preference dialogues together with others such as geolocation and webrtc camera access.
When the user is in private browsing mode, the "remember this decision" option will not be enabled, according to the existing behavior for the geolocation prompt.
When the resistfingerprinting
pref is enabled, WebXR will be disabled and the prompt will not appear.
Assignee | ||
Comment 1•5 years ago
|
||
NI'ing myself as a reminder to put the text for the dialog into a doc for @jvo's review.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Doc with strings sent, clearing self-reminder NI...
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
As Firefox desktop is currently only going to be used with Virtual Reality devices (FxR Mobile would be used for AR), I have simplified the text in the dialogues. The text now consistently says "virtual reality devices". FxR Android variants would re-implement this UI with appropriate text for each platform.
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
Assignee | ||
Comment 11•5 years ago
|
||
Assignee | ||
Comment 12•5 years ago
|
||
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
Assignee | ||
Comment 15•5 years ago
|
||
Assignee | ||
Comment 16•5 years ago
|
||
Updated screenshots to show simplified text. Now referring to "Virtual Reality" rather than XR, as only Virtual Reality devices will be used by Firefox desktop currently. (Augmented reality devices are all currently standalone hardware, and not tethered to a PC).
Assignee | ||
Comment 17•5 years ago
|
||
All dependencies are done, closing meta bug.
Description
•