Closed
Bug 1237328
Opened 9 years ago
Closed 8 years ago
[webvr] Enter VR fullscreen mode without user input
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox46 | --- | affected |
People
(Reporter: daoshengmu, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Details | Diff | Splinter Review |
We would like to make VR display can enter to fullscreen without userinput. Currently, we will get nsContentUtils::IsRequestFullScreenAllowed false while it doesn't use userInput to enter the fullscreen mode.
Reporter | ||
Updated•9 years ago
|
Summary: [webvr] Enter fullscreen mode without user input → [webvr] Enter VR fullscreen mode without user input
Reporter | ||
Comment 1•9 years ago
|
||
Checking if it is vrDisplay first and then checking fullscreen error. If it has a fullscreen error and it is not vrDisplay, it will not enter fullscreen. So vrDisplay can enter fullscreen directly.
Reporter | ||
Comment 2•9 years ago
|
||
In next update, I need to check WebVR API whether it's enabled. If it is enabled, allowing elements to enter fullscreen.
Reporter | ||
Comment 3•9 years ago
|
||
<iframe> does not work for this patch now. I need to fix it as well.
Reporter | ||
Comment 4•9 years ago
|
||
V2:
Renaming variable and making sure this patch works for iframe as well. For now, we needn't check gfxPrefs::VREnabled() because fsOptions.mVrDisplay is only assigned after dom.vr.enable is true.
Attachment #8704702 -
Attachment is obsolete: true
Comment 5•8 years ago
|
||
We no longer use the full screen API to enter VR mode with the landing on WebVR 1.0.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•