When in a WebXR immersive session in a Chrome Tabbed Activity (regular Chrome), permission requests get properly shown in VR. However, if the same is done in another activity type that supports WebXR (Chrome Custom Tab, Webapp Activity), the permission request is shown incorrectly as if it's a regular permission prompt (see attached screenshot).
I caught this while adding new tests, but unfortunately I'm not aware of a good way to reproduce this manually since it's difficult to manually test the other activity types.
One workaround would be to add a temporary test that just loads https://immersive-web.github.io/webxr-samples/tests/permission-request.html in a CCT/WAA then sleeps for a long time, allowing you to manually enter VR and trigger the issue.
|
Deleted:
org.chromium.chrome.browser.vr.WebXrVrInputTest#testInSessionPermissionRequests__CustomTabActivity-20181102T213418-UTC.png
115 KB
|
|
org.chromium.chrome.browser.vr.WebXrVrInputTest#testInSessionPermissionRequests__CustomTabActivity-20181102T213418-UTC.png
115 KB
View
Download
|
|
Comment 1 by ericde@google.com
, Nov 2