Closed Bug 1495358 Opened 7 years ago Closed 7 years ago

FeaturePolicy: vr

Categories

(Core :: WebVR, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: baku, Assigned: baku)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

This bug is about supporting feature-policy blocking for WebVR.
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+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: