Closed
Bug 1495358
Opened 7 years ago
Closed 7 years ago
FeaturePolicy: vr
Categories
(Core :: WebVR, enhancement)
Core
WebVR
Tracking
()
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
|
2.65 KB,
patch
|
kip
:
review+
|
Details | Diff | Splinter Review |
This bug is about supporting feature-policy blocking for WebVR.
| Assignee | ||
Comment 1•7 years ago
|
||
Attachment #9013215 -
Flags: review?(kgilbert)
Comment 2•7 years ago
|
||
Comment on attachment 9013215 [details] [diff] [review]
8_feature_vr.patch
Review of attachment 9013215 [details] [diff] [review]:
-----------------------------------------------------------------
Hooking Navigator::GetVRDisplays should be sufficient to prevent the user from entering VR.
Once the user is in VR, they may navigate to another site without leaving VR. When the destination site loads, the vrdisplayactivate event will fire:
https://immersive-web.github.io/webvr/spec/1.1/#window-vrdisplayactivate-event
This enables "VR link traversal". If the destination site should not be allowed to immediately start a VR presentation, then this event would also need to be suppressed.
Attachment #9013215 -
Flags: review?(kgilbert) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a1855d696e1c
FeaturePolicy: vr, r=kip
Comment 4•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Comment 5•7 years ago
|
||
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy/vr
Keywords: dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•