Enable webxr wpt

This commit is contained in:
Manish Goregaokar 2019-07-16 14:52:38 -07:00
parent 4e7a59e872
commit 5b960a7fdc
31 changed files with 411 additions and 0 deletions

View file

@ -131,6 +131,8 @@ skip: true
skip: false
[webvr]
skip: false
[webxr]
skip: false
[WebIDL]
skip: false
[websockets]

View file

@ -0,0 +1 @@
prefs: ["dom.webxr.enabled:true", "dom.webxr.test:true"]

View file

@ -0,0 +1,7 @@
[events_referenceSpace_reset.https.html]
[XRSession resetpose from a device properly fires off the right events for non-immersive sessions]
expected: FAIL
[XRSession resetpose from a device properly fires off the right events for immersive sessions]
expected: FAIL

View file

@ -0,0 +1,262 @@
[idlharness.https.window.html]
[XR interface: attribute ondevicechange]
expected: FAIL
[XRInputSourcesChangeEvent interface: attribute session]
expected: FAIL
[XRInputSourcesChangeEvent interface object name]
expected: FAIL
[XRInputSourceArray interface: iterable<XRInputSource>]
expected: FAIL
[XR interface: calling supportsSession(XRSessionMode) on navigator.xr with too few arguments must throw TypeError]
expected: FAIL
[XRSession interface: attribute onvisibilitychange]
expected: FAIL
[XRInputSourceArray interface object name]
expected: FAIL
[XRSession interface: attribute inputSources]
expected: FAIL
[XRInputSourcesChangeEvent interface object length]
expected: FAIL
[XRReferenceSpaceEvent interface: attribute referenceSpace]
expected: FAIL
[XR interface: navigator.xr must inherit property "ondevicechange" with the proper type]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object]
expected: FAIL
[XRRay interface object length]
expected: FAIL
[XRPose interface: attribute emulatedPosition]
expected: FAIL
[XRInputSourceArray interface: attribute length]
expected: FAIL
[XRSessionEvent interface: existence and properties of interface object]
expected: FAIL
[XRInputSource interface: attribute targetRayMode]
expected: FAIL
[XRBoundedReferenceSpace interface object length]
expected: FAIL
[XRSessionEvent interface object length]
expected: FAIL
[XRWebGLLayer interface: operation getNativeFramebufferScaleFactor(XRSession)]
expected: FAIL
[XRSession interface: attribute onselectend]
expected: FAIL
[XRInputSourceEvent interface: attribute frame]
expected: FAIL
[XRRay interface: attribute matrix]
expected: FAIL
[XRSession interface: attribute onselect]
expected: FAIL
[XRReferenceSpaceEvent interface object length]
expected: FAIL
[XRSessionEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[WebGLRenderingContext interface: operation makeXRCompatible()]
expected: FAIL
[XRInputSourcesChangeEvent interface: attribute added]
expected: FAIL
[XRSessionEvent interface object name]
expected: FAIL
[XRWebGLLayer interface: attribute framebufferHeight]
expected: FAIL
[XRInputSourceEvent interface: attribute inputSource]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRInputSourceEvent interface object name]
expected: FAIL
[XRInputSourcesChangeEvent interface: attribute removed]
expected: FAIL
[XRSessionEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRSession interface: attribute onselectstart]
expected: FAIL
[XRInputSourceEvent interface: existence and properties of interface prototype object]
expected: FAIL
[XRSessionEvent interface: attribute session]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface object]
expected: FAIL
[XRReferenceSpaceEvent interface: attribute transform]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface object]
expected: FAIL
[XRRay interface: attribute direction]
expected: FAIL
[XRRay interface object name]
expected: FAIL
[XRWebGLLayer interface: attribute framebufferWidth]
expected: FAIL
[XRInputSourceArray interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRInputSourceEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRRay interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRRay interface: existence and properties of interface object]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRInputSourceArray interface: existence and properties of interface prototype object]
expected: FAIL
[XRBoundedReferenceSpace interface: attribute boundsGeometry]
expected: FAIL
[XRWebGLLayer interface: existence and properties of interface object]
expected: FAIL
[XRWebGLLayer interface: existence and properties of interface prototype object]
expected: FAIL
[XRReferenceSpaceEvent interface object name]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRInputSource interface: attribute gamepad]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface prototype object]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface object]
expected: FAIL
[XRReferenceSpace interface: attribute onreset]
expected: FAIL
[XRRenderState interface: attribute inlineVerticalFieldOfView]
expected: FAIL
[XRRay interface: attribute origin]
expected: FAIL
[XRSession interface: operation requestReferenceSpace(XRReferenceSpaceType)]
expected: FAIL
[XRRay interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRRay interface: existence and properties of interface prototype object]
expected: FAIL
[XRInputSourceEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRInputSourceEvent interface: existence and properties of interface object]
expected: FAIL
[XRInputSourceArray interface object length]
expected: FAIL
[XRInputSource interface: attribute gripSpace]
expected: FAIL
[XRInputSourceArray interface: existence and properties of interface object]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRInputSource interface: attribute profiles]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XR interface: operation requestSession(XRSessionMode, XRSessionInit)]
expected: FAIL
[XR interface: operation supportsSession(XRSessionMode)]
expected: FAIL
[XRBoundedReferenceSpace interface object name]
expected: FAIL
[XRSession interface: attribute visibilityState]
expected: FAIL
[XRWebGLLayer interface: attribute ignoreDepthValues]
expected: FAIL
[XRInputSourceArray interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRWebGLLayer interface: attribute framebuffer]
expected: FAIL
[XRInputSourceEvent interface object length]
expected: FAIL
[XRSession interface: attribute oninputsourceschange]
expected: FAIL
[XRSessionEvent interface: existence and properties of interface prototype object]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object]
expected: FAIL
[XR interface: calling requestSession(XRSessionMode, XRSessionInit) on navigator.xr with too few arguments must throw TypeError]
expected: FAIL
[XRSession interface: attribute onend]
expected: FAIL
[XRSession interface: operation end()]
expected: FAIL

View file

@ -0,0 +1,4 @@
[webGLCanvasContext_create_xrcompatible.https.html]
[An XR-compatible webglCanvasContext can be created]
expected: FAIL

View file

@ -0,0 +1,4 @@
[webGLCanvasContext_makecompatible_contextlost.https.html]
[A lost webglCanvasContext should not be able to set xr compatibility]
expected: FAIL

View file

@ -0,0 +1,4 @@
[webxr-supported-by-feature-policy.html]
[document.featurePolicy.features should advertise xr.]
expected: FAIL

View file

@ -0,0 +1,7 @@
[webxr_availability.http.sub.html]
[Test webxr not available in secure context in insecure context]
expected: FAIL
[Test webxr not available in insecure context]
expected: FAIL

View file

@ -0,0 +1,5 @@
[xrBoundedReferenceSpace_updates.https.html]
expected: ERROR
['XRBoundedReferenceSpace updates properly when the changes are applied]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[xrDevice_disconnect_ends.https.html]
[Immersive session ends when device is disconnected]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrDevice_requestSession_immersive_no_gesture.https.html]
[Requesting immersive session outside of a user gesture rejects]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrDevice_requestSession_immersive_unsupported.https.html]
[Requesting an immersive session when unsupported rejects]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrDevice_requestSession_no_mode.https.html]
[Requesting a session with no mode rejects]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrDevice_requestSession_non_immersive_no_gesture.https.html]
[Requesting non-immersive session outside of a user gesture succeeds]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrDevice_supportsSession_immersive_unsupported.https.html]
[supportsSession rejects when options not supported]
expected: FAIL

View file

@ -0,0 +1,8 @@
[xrFrame_getPose.https.html]
expected: ERROR
[XRFrame.getPose works for immersive sessions]
expected: TIMEOUT
[XRFrame.getPose works for non-immersive sessions]
expected: NOTRUN

View file

@ -0,0 +1,4 @@
[xrFrame_lifetime.https.html]
[XRFrame methods throw exceptions outside of the requestAnimationFrame callback for non-immersive sessions]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrRay_constructor.https.html]
[XRRay constructors work]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrRay_matrix.https.html]
[XRRay matrix works]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrRigidTransform_constructor.https.html]
[XRRigidTransform constructor works]
expected: FAIL

View file

@ -0,0 +1,7 @@
[xrSession_cancelAnimationFrame.https.html]
[XRSession requestAnimationFrame callbacks can be unregistered with cancelAnimationFrame for non-immersive sessions]
expected: FAIL
[XRSession requestAnimationFrame callbacks can be unregistered with cancelAnimationFrame for immersive sessions]
expected: FAIL

View file

@ -0,0 +1,8 @@
[xrSession_cancelAnimationFrame_invalidhandle.https.html]
expected: TIMEOUT
[XRSession cancelAnimationFrame does not have unexpected behavior when given invalid handles on immersive testSession]
expected: TIMEOUT
[XRSession cancelAnimationFrame does not have unexpected behavior when given invalid handles on non-immersive testSession]
expected: NOTRUN

View file

@ -0,0 +1,8 @@
[xrSession_end.https.html]
expected: TIMEOUT
[end event fires when non-immersive session ends]
expected: NOTRUN
[end event fires when immersive session ends]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[xrSession_prevent_multiple_exclusive.https.html]
[Test prevention of multiple simultaneous immersive sessions]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrSession_requestAnimationFrame_callback_calls.https.html]
[XRSession requestAnimationFrame calls the provided callback a non-immersive session]
expected: FAIL

View file

@ -0,0 +1,7 @@
[xrSession_requestAnimationFrame_getViewerPose.https.html]
[XRFrame getViewerPose updates on the next frame for non-immersive sessions]
expected: FAIL
[XRFrame getViewerPose updates on the next frame for immersive sessions]
expected: FAIL

View file

@ -0,0 +1,7 @@
[xrSession_requestReferenceSpace.https.html]
[Non-immersive XRSession requestReferenceSpace returns expected objects]
expected: FAIL
[Immersive XRSession requestReferenceSpace returns expected objects]
expected: FAIL

View file

@ -0,0 +1,7 @@
[xrSession_viewer_referenceSpace.https.html]
[Identity reference space provides correct poses for immersive sessions]
expected: FAIL
[Identity reference space provides correct poses for inline sessions]
expected: FAIL

View file

@ -0,0 +1,7 @@
[xrStationaryReferenceSpace_floorlevel_updates.https.html]
['floor-level' XRStationaryReferenceSpace updates properly when the transform changes for immersive sessions]
expected: FAIL
['floor-level' XRStationaryReferenceSpace updates properly when the transform changes for non-immersive sessions]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrView_eyes.https.html]
[XRView.eye is correct for non-immersive sessions]
expected: FAIL

View file

@ -0,0 +1,4 @@
[xrWebGLLayer_viewports.https.html]
[XRWebGLLayer reports a valid viewports for inline sessions]
expected: FAIL