Status

()

enhancement
RESOLVED FIXED
9 months ago
8 months ago

People

(Reporter: baku, Assigned: baku)

Tracking

({dev-doc-complete})

unspecified
mozilla64
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox64 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

9 months ago
This bug is about supporting feature-policy blocking for WebVR.
Assignee

Comment 1

9 months ago
Attachment #9013215 - Flags: review?(kgilbert)
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+

Comment 4

9 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/a1855d696e1c
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.