New issue
Advanced search Search tips

Issue 861604 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature
Proj-VR
Proj-XR-AR
Proj-XR



Sign in to add a comment

Enable AR functionality with origin trial.

Reported by goo...@awe.media, Jul 8

Issue description

Chrome Version       : 69.0.3475.0 (Official Build) dev (32-bit)
URLs (if applicable) : N/A
Other browsers tested: N/A

What steps will reproduce the problem?
(1) open chrome://flags and set #webxr to enabled and #webxr-hit-test to default/disabled.
(2) relaunch Chrome
(3) open any page that uses the WebXR API (without the Hit Test API)

What is the expected result?
The camera stream should be turned on in the background, ARCore 6DOF tracking should start working and the WebXR app should work as expected.

What happens instead?
The camera stream is never turned on and this means ARCore 6DOF tracking never starts - so the WebXR app just acts like a VR app instead (e.g. 3DOF orientation only tracking). If you go back into chrome://flags and set #webxr-hit-test to enabled then the app goes back to working as expected.

Please provide any additional information below. Attach a screenshot if
possible.
The Hit Test API is very useful - but this silent dependency means that we can't deploy WebXR using our Origin Trial token without still requiring the user to manually enable the #webxr-hit-test flag.

Can we please either automatically enable the #webxr-hit-test capability if #webxr is enabled - or separate the silent dependency so #webxr can at least work on it's own.

NOTE: The Origin Trial team recommended we raise this ticket - also see our initial comment here: https://bugs.chromium.org/p/chromium/issues/detail?id=833633#c11


BTW: Thanks for all the great progress on these APIs 8)
 
Labels: Needs-Triage-M69
Components: Blink>WebXR
Labels: -Needs-Triage-M69 FoundIn-69
Status: Available (was: Unconfirmed)
This is a known limitation of the current implementation and spec, and tying AR functionality to the hit test flag is an unfortunate stopgap.

See also issue 862803 and issue 856257 related to the ongoing refactoring to improve this situation.


Thanks for the update 8)
Labels: -Type-Bug Type-Feature
Summary: Enable AR functionality with origin trial. (was: WebXR API now silently fails unless WebXR Hit-Test API is also enabled)
It is expected for now that AR capabilities require the WebXR hittest flag.  There was a dependency that the hittest flag also prevented VR capabilities from working, but that is now addressed.

AR functionality through WebXR are not yet in origin trial - only the VR functionality is in origin trial.

This is currently working correctly as we expect the current design to work.

Renaming the bug and marking as a feature request based on the description of the issue.
Blocking: -779691
Components: -Blink>WebVR -Blink>WebXR Blink>WebXR>AR

Sign in to add a comment