New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 825377 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug
Proj-XR
Proj-XR-VR



Sign in to add a comment

WebXR permission request test page stops using the capability sometimes

Project Member Reported by dougman@chromium.org, Mar 23 2018

Issue description

Chrome Version: 67.0.3379.0
OS: Android 8.1.0 on Pixel 2

What steps will reproduce the problem?
(1) Grant Chrome access to camera.
(2) Launch https://immersive-web.github.io/webxr-samples/tests/permission-request.html
(3) Remove site permissions, clear all.
(4) Click the Camera icon.
(5) Allow Camera access.
(6) Watch the Permission Indicators on top of the page, and slowly count to ten.

What is the expected result?
Camera access is granted and stays.

What happens instead?
After a few seconds the permission indicator is removed.
Looking in the site permissions the Camera is allows.
Entering VR indicates that the permission is not granted.

The plan is to use this site to test WebVR Permission Indicators feature being release.
 
Cc: offenwanger@chromium.org asimjour@chromium.org
Labels: Proj-VR
This appears to be flaky, or at least the duration is. I left the page open for a long time and the camera did not go away. Then I refreshed and repeated steps 4-6 a few times. The indicator seemed to last for 12, 20+, and 30+ seconds.

When the indicator is visible, the permission toast is displayed when entering WebXR presentation, but it is not displayed when entering after the indicator has disappeared.

Outside VR, in traditional 2D browsing, both the camera and mic icon in the system tray disappear after some period of time. Thus, this doesn't appear to be VR specific. I have not been able to reproduce this on https://permission.site/ in 2D.

In my most recent attempt on the test page in 2D, the mic indicator disappeared after about five seconds, then I clicked the camera and that indicator is still visible after over a minute.
Cc: vollick@chromium.org
Summary: WebXR permission request test page stops using the capability sometimes (was: WebXR permission test site )
This may be due to the fact that the site isn't actively using the camera, just requesting permission to access it and then letting the result fall on the floor.
Maybe the thing that provides access is being garbage collected because there is no reference to it. That would explain the random behavior. Would attaching it as a property to some global object resolve that? We could also look at what https://permission.site/ does.

Comment 5 by ericde@google.com, Apr 24 2018

Labels: -Hotlist-VRB-MVP
doesn't sound like it's MVP, removing from hotlist.

Comment 6 by ericde@google.com, May 15 2018

Labels: -Pri-1 -M-67 VR-Test Pri-2

Sign in to add a comment