New issue
Advanced search Search tips

Issue 687369 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug
Proj-XR



Sign in to add a comment

WebVR presentation from iframe fails.

Project Member Reported by mthiesse@chromium.org, Jan 31 2017

Issue description

Simple html page with "<iframe src="https://webvr.info/samples/03-vr-presentation.html" ></iframe>" will 'successfully' enter presentation but get kicked out by the fullscreen check in VrDisplay. The rendering while briefly in presentation is also incorrect due to failing to fullscreen the canvas.
 
Owner: mthiesse@chromium.org
We should probably prevent non-main frames from presenting and port that back to M57.

Then Klaus can fix in M58 presumably with his compositor changes.
Labels: M-57
Ah, this is because you need to put allowFullScreen="true" on the iframe or fullscreen requests are rejected.

Still seems like a bug that needs fixing though. In M58 we should look into gating webVR behind <iframe enable="vr">, but for now disabling it when we can't go fullscreen seems reasonable.
Status: Fixed (was: Assigned)
Components: Blink>WebXR

Sign in to add a comment