Update WebXR WPT expectations (#33058)

* Enable the dom.webxr.test pref for webxr WPT tests

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update webxr test expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Fix erroneous timeouts

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Readd stable timeout

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-08-14 23:09:15 -10:00 committed by GitHub
parent 8159f03288
commit 353ceb0ffb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 74 additions and 220 deletions

1
tests/wpt/meta/webxr/__dir__.ini vendored Normal file
View file

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

View file

@ -1,6 +0,0 @@
[xrDevice_isSessionSupported_immersive-ar.https.html]
[isSessionSupported resolves to true for immersive-ar on a supported device]
expected: FAIL
[isSessionSupported resolves to false for immersive-ar on an unsupported device]
expected: FAIL

View file

@ -4,9 +4,3 @@
[Tests requestSession accepts immersive-ar mode - webgl2]
expected: FAIL
[Tests requestSession accepts immersive-ar mode - webgl]
expected: FAIL
[Tests requestSession rejects immersive-ar mode when unsupported]
expected: FAIL

View file

@ -13,6 +13,3 @@
[Tests environmentBlendMode for a VR device - webgl2]
expected: FAIL
[Tests environmentBlendMode for a VR device - webgl]
expected: FAIL

View file

@ -14,12 +14,6 @@
[Tests interactionMode for an VR_HMD_DEVICE]
expected: FAIL
[Tests interactionMode for an AR_HMD_DEVICE - webgl]
expected: FAIL
[Tests interactionMode for an VR_HMD_DEVICE - webgl]
expected: FAIL
[Tests interactionMode for a INLINE_SCREEN_DEVICE - webgl]
expected: FAIL
@ -43,4 +37,3 @@
[Tests interactionMode for an VR_HMD_DEVICE - webgl2]
expected: FAIL

View file

@ -1,4 +1,5 @@
[ar_dom_overlay.https.html]
expected: ERROR
[Ensures DOM Overlay input deduplication works]
expected: FAIL
@ -17,3 +18,32 @@
[Ensures DOM Overlay interactions on cross origin iframe are ignored]
expected: FAIL
[Ensures DOM Overlay feature works for immersive-ar, body element - webgl]
expected: FAIL
[Ensures DOM Overlay feature works for immersive-ar, body element - webgl2]
expected: FAIL
[Ensures DOM Overlay feature works for immersive-ar, div element - webgl]
expected: FAIL
[Ensures DOM Overlay feature works for immersive-ar, div element - webgl2]
expected: FAIL
[Ensures DOM Overlay input deduplication works - webgl]
expected: TIMEOUT
[Ensures DOM Overlay input deduplication works - webgl2]
expected: NOTRUN
[Ensures DOM Overlay Fullscreen API doesn't change DOM overlay - webgl]
expected: NOTRUN
[Ensures DOM Overlay Fullscreen API doesn't change DOM overlay - webgl2]
expected: NOTRUN
[Ensures DOM Overlay interactions on cross origin iframe are ignored - webgl]
expected: NOTRUN
[Ensures DOM Overlay interactions on cross origin iframe are ignored - webgl2]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[ar_dom_overlay_hit_test.https.html]
[Ensures DOM Overlay interactions on cross origin iframe do not cause hit test results to come up - webgl]
expected: FAIL
[Ensures DOM Overlay interactions on cross origin iframe do not cause hit test results to come up - webgl2]
expected: FAIL

View file

@ -0,0 +1,27 @@
[idlharness.https.window.html]
[XRSession interface: attribute domOverlayState]
expected: FAIL
[HTMLElement interface: attribute onbeforexrselect]
expected: FAIL
[HTMLElement interface: document.body must inherit property "onbeforexrselect" with the proper type]
expected: FAIL
[Window interface: attribute onbeforexrselect]
expected: FAIL
[Window interface: window must inherit property "onbeforexrselect" with the proper type]
expected: FAIL
[Document interface: attribute onbeforexrselect]
expected: FAIL
[Document interface: document must inherit property "onbeforexrselect" with the proper type]
expected: FAIL
[SVGElement interface: attribute onbeforexrselect]
expected: FAIL
[SVGElement interface: svgElement must inherit property "onbeforexrselect" with the proper type]
expected: FAIL

View file

@ -7,4 +7,3 @@
[XRInputSources primary input presses properly fires off the right events - webgl2]
expected: FAIL

View file

@ -4,4 +4,3 @@
[XRFrame getViewerPose has emulatedPosition set properly. - webgl]
expected: FAIL

View file

@ -5,8 +5,6 @@
[XRSession interface: calling requestReferenceSpace(XRReferenceSpaceType) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRSystem interface: operation isSessionSupported(XRSessionMode)]
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
@ -73,8 +71,6 @@
[WebGLRenderingContext includes WebGLRenderingContextOverloads: member names are unique]
expected: FAIL
[XRSystem interface: operation requestSession(XRSessionMode, optional XRSessionInit)]
[XRReferenceSpaceEvent interface object name]
expected: FAIL
@ -210,8 +206,6 @@
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebufferHeight" with the proper type]
expected: FAIL
[XRSession interface: operation requestReferenceSpace(XRReferenceSpaceType)]
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebufferWidth" with the proper type]
expected: FAIL
@ -260,8 +254,6 @@
[Stringification of xrInputSourceArray]
expected: FAIL
[XRSession interface: operation end()]
[XRSession interface: xrSession must inherit property "cancelAnimationFrame(unsigned long)" with the proper type]
expected: FAIL
@ -316,8 +308,6 @@
[XRFrame interface: attribute predictedDisplayTime]
expected: FAIL
[WebGLRenderingContext interface: operation makeXRCompatible()]
[XRSession interface: attribute enabledFeatures]
expected: FAIL
@ -330,32 +320,5 @@
[XRSession interface: xrSession must inherit property "isSystemKeyboardSupported" with the proper type]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface object]
expected: FAIL
[XRInputSourcesChangeEvent interface object length]
expected: FAIL
[XRInputSourcesChangeEvent interface object name]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface prototype object]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRInputSourcesChangeEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRInputSourcesChangeEvent interface: attribute session]
expected: FAIL
[XRInputSourcesChangeEvent interface: attribute added]
expected: FAIL
[XRInputSourcesChangeEvent interface: attribute removed]
expected: FAIL
[XRInputSource interface: attribute skipRendering]
expected: FAIL

View file

@ -7,4 +7,4 @@
expected: FAIL
[Validate xr compatibility requests without xr-spatial-tracking policy]
expected: FAIL
expected: NOTRUN

View file

@ -1,9 +1,10 @@
[xrDevice_disconnect_ends.https.html]
expected: TIMEOUT
[Immersive session ends when device is disconnected]
expected: FAIL
expected: TIMEOUT
[Immersive session ends when device is disconnected - webgl2]
expected: FAIL
expected: NOTRUN
[Immersive session ends when device is disconnected - webgl]
expected: FAIL
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[xrDevice_isSessionSupported_immersive.https.html]
[isSessionSupported resolves to true when immersive options supported]
expected: FAIL

View file

@ -1,3 +0,0 @@
[xrDevice_isSessionSupported_immersive_unsupported.https.html]
[isSessionSupported resolves to false when options not supported]
expected: FAIL

View file

@ -1,3 +0,0 @@
[xrDevice_isSessionSupported_inline.https.html]
[isSessionSupported resolves to true when inline options supported]
expected: FAIL

View file

@ -5,9 +5,6 @@
[Tests requestSession accepts XRSessionInit dictionary]
expected: FAIL
[Tests requestSession resolves when supported]
expected: FAIL
[Tests requestSession accepts XRSessionInit dictionary - webgl2]
expected: FAIL
@ -16,12 +13,3 @@
[Tests requestSession ignores unknown optionalFeatures - webgl2]
expected: FAIL
[Tests requestSession resolves when supported - webgl]
expected: FAIL
[Tests requestSession accepts XRSessionInit dictionary - webgl]
expected: FAIL
[Tests requestSession ignores unknown optionalFeatures - webgl]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

@ -22,15 +22,3 @@
[Tests requestSession ignores unknown objects in optionalFeatures - webgl2]
expected: FAIL
[Tests requestSession accepts XRSessionInit dictionary - webgl]
expected: FAIL
[Tests requestSession accepts XRSessionInit dictionary with empty feature lists - webgl]
expected: FAIL
[Tests requestSession ignores unknown strings in optionalFeatures - webgl]
expected: FAIL
[Tests requestSession ignores unknown objects in optionalFeatures - webgl]
expected: FAIL

View file

@ -16,4 +16,3 @@
[XRFrame.getPose works for non-immersive sessions - webgl]
expected: FAIL

View file

@ -4,6 +4,3 @@
[XRFrame getViewerPose(refSpace) matches getPose(viewer, refSpace). - webgl2]
expected: FAIL
[XRFrame getViewerPose(refSpace) matches getPose(viewer, refSpace). - webgl]
expected: FAIL

View file

@ -10,9 +10,3 @@
[XRFrame methods throw exceptions outside of the requestAnimationFrame callback for non-immersive sessions - webgl2]
expected: FAIL
[XRFrame methods throw exceptions outside of the requestAnimationFrame callback for immersive sessions - webgl]
expected: FAIL
[XRFrame methods throw exceptions outside of the requestAnimationFrame callback for non-immersive sessions - webgl]
expected: FAIL

View file

@ -4,4 +4,3 @@
[Poses from XRInputSource.gripSpace have emulatedPosition set properly - webgl2]
expected: FAIL

View file

@ -10,9 +10,3 @@
[XRSession requestAnimationFrame callbacks can be unregistered with cancelAnimationFrame for immersive sessions - webgl2]
expected: FAIL
[XRSession requestAnimationFrame callbacks can be unregistered with cancelAnimationFrame for immersive sessions - webgl]
expected: FAIL
[XRSession requestAnimationFrame callbacks can be unregistered with cancelAnimationFrame for non-immersive sessions - webgl]
expected: FAIL

View file

@ -1,4 +1,5 @@
[xrSession_cancelAnimationFrame_invalidhandle.https.html]
expected: TIMEOUT
[XRSession cancelAnimationFrame does not have unexpected behavior when given invalid handles on immersive testSession]
expected: FAIL
@ -6,13 +7,13 @@
expected: FAIL
[XRSession cancelAnimationFrame does not have unexpected behavior when given invalid handles on non-immersive testSession - webgl2]
expected: FAIL
expected: NOTRUN
[XRSession cancelAnimationFrame does not have unexpected behavior when given invalid handles on non-immersive testSession - webgl]
expected: FAIL
expected: NOTRUN
[XRSession cancelAnimationFrame does not have unexpected behavior when given invalid handles on immersive testSession - webgl2]
expected: FAIL
expected: NOTRUN
[XRSession cancelAnimationFrame does not have unexpected behavior when given invalid handles on immersive testSession - webgl]
expected: FAIL
expected: TIMEOUT

View file

@ -10,9 +10,3 @@
[end event fires when immersive session ends - webgl2]
expected: FAIL
[end event fires when immersive session ends - webgl]
expected: FAIL
[end event fires when non-immersive session ends - webgl]
expected: FAIL

View file

@ -1,3 +0,0 @@
[xrSession_features_deviceSupport.https.html]
[Immersive XRSession requests with no supported device should reject]
expected: FAIL

View file

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

View file

@ -10,9 +10,3 @@
[XRSession requestAnimationFrame calls the provided callback a non-immersive session - webgl2]
expected: FAIL
[XRSession requestAnimationFrame calls the provided callback for an immersive session - webgl]
expected: FAIL
[XRSession requestAnimationFrame calls the provided callback a non-immersive session - webgl]
expected: FAIL

View file

@ -4,6 +4,3 @@
[RequestAnimationFrame resolves with good data - webgl2]
expected: FAIL
[RequestAnimationFrame resolves with good data - webgl]
expected: FAIL

View file

@ -10,9 +10,3 @@
[XRFrame getViewerPose updates on the next frame for immersive sessions - webgl2]
expected: FAIL
[XRFrame getViewerPose updates on the next frame for non-immersive sessions - webgl]
expected: FAIL
[XRFrame getViewerPose updates on the next frame for immersive sessions - webgl]
expected: FAIL

View file

@ -2,12 +2,5 @@
[Immersive XRSession requestReferenceSpace returns expected objects - webgl2]
expected: FAIL
[Immersive XRSession requestReferenceSpace returns expected objects - webgl]
expected: FAIL
[Non-immersive XRSession requestReferenceSpace returns expected objects - webgl2]
expected: FAIL
[Non-immersive XRSession requestReferenceSpace returns expected objects - webgl]
expected: FAIL

View file

@ -70,39 +70,3 @@
[Non-immersive session supports local space when required - webgl2]
expected: FAIL
[Non-immersive session supports viewer space by default - webgl]
expected: FAIL
[Immersive session supports viewer space by default - webgl]
expected: FAIL
[Immersive session supports local space by default - webgl]
expected: FAIL
[Non-immersive session supports local space when required - webgl]
expected: FAIL
[Non-immersive session supports local space when optional - webgl]
expected: FAIL
[Non-immersive session supports local-floor space when required - webgl]
expected: FAIL
[Immersive session supports local-floor space when required - webgl]
expected: FAIL
[Immersive session supports local-floor space when optional - webgl]
expected: FAIL
[Non-immersive session rejects bounded-floor space even when requested - webgl]
expected: FAIL
[Non-immersive session rejects unbounded space even when requested - webgl]
expected: FAIL
[Non-immersive session rejects local space if not requested - webgl]
expected: FAIL
[Immersive session rejects local-floor space if not requested - webgl]
expected: FAIL

View file

@ -8,12 +8,8 @@
[Create mew session in end promise - webgl2]
expected: FAIL
[Create mew session in end promise - webgl]
expected: FAIL
[Create new session in OnSessionEnded event - webgl2]
expected: FAIL
[Create new session in OnSessionEnded event - webgl]
expected: FAIL

View file

@ -10,9 +10,3 @@
[Identity reference space provides correct poses for immersive sessions - webgl2]
expected: FAIL
[Identity reference space provides correct poses for inline sessions - webgl]
expected: FAIL
[Identity reference space provides correct poses for immersive sessions - webgl]
expected: FAIL

View file

@ -1,19 +1,10 @@
[xrViewerPose_secondaryViews.https.html]
[Only primary views are returned if secondary views are not requested for non-immersive - webgl]
expected: FAIL
[Only primary views are returned if secondary views are not requested for non-immersive - webgl2]
expected: FAIL
[Only primary views are returned if secondary views are not requested for immersive - webgl]
expected: FAIL
[Only primary views are returned if secondary views are not requested for immersive - webgl2]
expected: FAIL
[Requesting secondary views only returns primary views for non-immersive - webgl]
expected: FAIL
[Requesting secondary views only returns primary views for non-immersive - webgl2]
expected: FAIL