Commit 11af1ca9 authored by Alexander Cooper's avatar Alexander Cooper Committed by Commit Bot

Fix Webxr WPTs

The "is webkit" heuristic only checks that self.internals exists;
however, this is also true on chromium. Chromium however does not have
an "internals.xrTest", this expands the "is webkit" heuristic to also
account for the presence of "internals.xrTest" and thus ensure chromium
tests run

Fixed: 1072929
Change-Id: Ieba043ba1634b393905e4494d0c59294aa6df12b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159320
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Auto-Submit: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: default avatarBrandon Jones <bajones@chromium.org>
Reviewed-by: default avatarKlaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761158}
parent 6e3d5cf9
...@@ -3192,67 +3192,12 @@ crbug.com/27659 external/wpt/css/css-ruby/ruby-whitespace-001.html [ Failure ] ...@@ -3192,67 +3192,12 @@ crbug.com/27659 external/wpt/css/css-ruby/ruby-whitespace-001.html [ Failure ]
crbug.com/27659 external/wpt/css/css-ruby/ruby-whitespace-002.html [ Failure ] crbug.com/27659 external/wpt/css/css-ruby/ruby-whitespace-002.html [ Failure ]
# ====== New tests from wpt-importer added here ====== # ====== New tests from wpt-importer added here ======
crbug.com/626703 [ Linux ] external/wpt/webxr/render_state_vertical_fov_inline.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/render_state_vertical_fov_inline.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/render_state_vertical_fov_inline.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrView_eyes.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrView_eyes.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrView_eyes.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrSession_requestReferenceSpace_features.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_requestReferenceSpace_features.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_requestReferenceSpace_features.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrSession_cancelAnimationFrame.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_cancelAnimationFrame.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_cancelAnimationFrame.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrSession_end.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_end.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_end.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.html [ Timeout ] crbug.com/626703 [ Linux ] external/wpt/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.html [ Timeout ] crbug.com/626703 [ Mac ] external/wpt/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.html [ Timeout ] crbug.com/626703 [ Win ] external/wpt/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrWebGLLayer_constructor.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrWebGLLayer_constructor.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrWebGLLayer_constructor.https.html [ Timeout ]
crbug.com/626703 [ Linux ] wpt_internal/webxr/xrSession_environmentBlendMode.https.html [ Timeout ]
crbug.com/626703 [ Mac ] wpt_internal/webxr/xrSession_environmentBlendMode.https.html [ Timeout ]
crbug.com/626703 [ Win ] wpt_internal/webxr/xrSession_environmentBlendMode.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrWebGLLayer_viewports.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrWebGLLayer_viewports.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrWebGLLayer_viewports.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrSession_requestAnimationFrame_timestamp.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_requestAnimationFrame_timestamp.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_requestAnimationFrame_timestamp.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrSession_viewer_referenceSpace.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_viewer_referenceSpace.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_viewer_referenceSpace.https.html [ Timeout ]
crbug.com/626703 [ Linux ] wpt_internal/webxr/events_deviceconnect.https.html [ Timeout ]
crbug.com/626703 [ Mac ] wpt_internal/webxr/events_deviceconnect.https.html [ Timeout ]
crbug.com/626703 [ Win ] wpt_internal/webxr/events_deviceconnect.https.html [ Timeout ]
crbug.com/626703 [ Linux ] wpt_internal/webxr/render_state_vertical_fov_inline.https.html [ Timeout ]
crbug.com/626703 [ Mac ] wpt_internal/webxr/render_state_vertical_fov_inline.https.html [ Timeout ]
crbug.com/626703 [ Win ] wpt_internal/webxr/render_state_vertical_fov_inline.https.html [ Timeout ]
crbug.com/1073060 [ Linux ] external/wpt/webxr/xrSession_viewer_availability.https.html [ Timeout Crash ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_viewer_availability.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_viewer_availability.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrWebGLLayer_opaque_framebuffer.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrWebGLLayer_opaque_framebuffer.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrWebGLLayer_opaque_framebuffer.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/exclusive_requestFrame_nolayer.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/exclusive_requestFrame_nolayer.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/exclusive_requestFrame_nolayer.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrSession_cancelAnimationFrame_invalidhandle.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_cancelAnimationFrame_invalidhandle.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_cancelAnimationFrame_invalidhandle.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrSession_requestAnimationFrame_callback_calls.https.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/xrSession_requestAnimationFrame_callback_calls.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrSession_requestAnimationFrame_callback_calls.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/uievents/order-of-events/focus-events/focus-management-expectations.html [ Timeout ] crbug.com/626703 [ Linux ] external/wpt/uievents/order-of-events/focus-events/focus-management-expectations.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/uievents/order-of-events/focus-events/focus-management-expectations.html [ Timeout ] crbug.com/626703 [ Mac ] external/wpt/uievents/order-of-events/focus-events/focus-management-expectations.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/uievents/order-of-events/focus-events/focus-management-expectations.html [ Timeout ] crbug.com/626703 [ Win ] external/wpt/uievents/order-of-events/focus-events/focus-management-expectations.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webxr/webxr_feature_policy.https.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/webxr/webxr_feature_policy.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/webrtc/RTCPeerConnection-perfect-negotiation.https.html [ Failure Timeout ] crbug.com/626703 [ Linux ] external/wpt/webrtc/RTCPeerConnection-perfect-negotiation.https.html [ Failure Timeout ]
crbug.com/626703 [ Mac ] external/wpt/webrtc/RTCPeerConnection-perfect-negotiation.https.html [ Failure Timeout ] crbug.com/626703 [ Mac ] external/wpt/webrtc/RTCPeerConnection-perfect-negotiation.https.html [ Failure Timeout ]
crbug.com/626703 [ Win10 ] external/wpt/webrtc/RTCPeerConnection-perfect-negotiation.https.html [ Failure Timeout ] crbug.com/626703 [ Win10 ] external/wpt/webrtc/RTCPeerConnection-perfect-negotiation.https.html [ Failure Timeout ]
...@@ -6798,6 +6743,3 @@ crbug.com/1042694 virtual/form-controls-refresh-disabled/fast/forms/form-control ...@@ -6798,6 +6743,3 @@ crbug.com/1042694 virtual/form-controls-refresh-disabled/fast/forms/form-control
# QUIC reordered versions to prefer IETF QUIC # QUIC reordered versions to prefer IETF QUIC
crbug.com/1070747 external/wpt/webrtc-quic/* [ Skip ] crbug.com/1070747 external/wpt/webrtc-quic/* [ Skip ]
# Sheriff 2020-04-21
crbug.com/1073133 [ Linux ] external/wpt/webxr/webxr_feature_policy.https.html [ Pass Failure Timeout Crash ]
This is a testharness.js-based test.
FAIL isSessionSupported resolves to true for immersive-ar on a supported device assert_true: expected true got false
PASS isSessionSupported resolves to false for immersive-ar on an unsupported device
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Tests requestSession accepts immersive-ar mode promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
PASS Tests requestSession rejects immersive-ar mode when unsupported
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Tests environmentBlendMode for an AR device promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Tests environmentBlendMode for a VR device promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Ensures DOM Overlay rejected without root element
FAIL Ensures DOM Overlay feature works for immersive-ar, body element promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures DOM Overlay feature works for immersive-ar, div element promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures DOM Overlay input deduplication works promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures DOM Overlay Fullscreen API doesn't change DOM overlay promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures DOM Overlay interactions on cross origin iframe are ignored promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensures DOM Overlay interactions on cross origin iframe do not cause hit test results to come up promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Input sources are re-created when handedness or target ray mode changes promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Transient input sources fire events in the right order promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRSession resetpose from a device properly fires off the right events for immersive sessions promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRInputSources primary input presses properly fires off the right events promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensures that an XRInputSources primary input being pressed and released in the space of a single frame properly fires off the right events promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRInputSources primary input presses properly fires off the right events promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL WebXR InputSource's gamepad gets disconnected when the input source is removed promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL WebXR InputSource's gamepad properly registers input promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRInputSources properly communicate their handedness promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRInputSources with a target ray mode of 'tracked-pointer' properly communicate their poses promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame getViewerPose has emulatedPosition set properly. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensures subscription to hit test works with an XRSpace from input source - no move promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures subscription to hit test works with an XRSpace from input source - after move - no results promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures subscription to hit test works with an XRSpace from input source - after move - 1 result promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensures subscription to hit test works with viewer space - straight ahead - plane promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures subscription to hit test works with viewer space - straight up - no results promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures subscription to hit test works with local space promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures subscription to hit test works with local-floor space promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Hit test subscription succeeds if the feature was requested promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Hit test subscription fails if the feature was not requested promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Hit test subscription fails if the feature was requested but the session already ended promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Transient hit test subscription succeeds if the feature was requested promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Transient hit test subscription fails if the feature was not requested promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Transient test subscription fails if the feature was requested but the session already ended promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensures subscription to transient hit test works with an XRSpace from input source - no move promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures subscription to transient hit test works with an XRSpace from input source - after move - no results promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Ensures subscription to transient hit test works with an XRSpace from input source - after move - 1 result promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"floorOrigin\":{\"position\":[0,-0.25,0],\"orientation\":[0,0,0,1]},\"viewerOrigin\":{\"position\":[0,1,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"world\":{\"hitTestRegions\":[{\"type\":\"plane\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1}]}]},{\"type\":\"mesh\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":2.5,\"y\":0,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":0,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]},{\"type\":\"point\",\"faces\":[{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]},{\"vertices\":[{\"x\":-2.5,\"y\":2,\"z\":-2.5,\"w\":1},{\"x\":-2.5,\"y\":2,\"z\":2.5,\"w\":1},{\"x\":2.5,\"y\":2,\"z\":2.5,\"w\":1}]}]}]}} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Navigator.xr meets [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL inlineVerticalFieldOfView is set appropriately on immersively sessions promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
...@@ -206,7 +206,7 @@ let loadChromiumResources = Promise.resolve().then(() => { ...@@ -206,7 +206,7 @@ let loadChromiumResources = Promise.resolve().then(() => {
}); });
let setupWebKitWebXRTestAPI = Promise.resolve().then(() => { let setupWebKitWebXRTestAPI = Promise.resolve().then(() => {
if (!self.internals) { if (!self.internals || !internals.xrTest) {
// Do nothing on non-WebKit-based browsers. // Do nothing on non-WebKit-based browsers.
return; return;
} }
......
This is a testharness.js-based test.
Harness Error. harness_status.status = 1 , harness_status.message = Unhandled rejection: Cannot set property 'test' of undefined
PASS Test webxr not available in insecure context
PASS Test webxr not available in secure context in insecure context
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL 'XRBoundedReferenceSpace updates properly when the changes are applied promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"floorOrigin\":{\"position\":[1,1.65,-1],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Immersive session ends when device is disconnected promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL isSessionSupported resolves to true when immersive options supported assert_true: expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Tests requestSession resolves when supported promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Tests requestSession accepts XRSessionInit dictionary promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Tests requestSession ignores unknown optionalFeatures promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Tests requestSession accepts XRSessionInit dictionary promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Tests requestSession accepts XRSessionInit dictionary with empty feature lists promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Tests requestSession ignores unknown strings in optionalFeatures promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Tests requestSession ignores unknown objects in optionalFeatures promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame.getPose works for immersive sessions promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL XRFrame.getPose works for non-immersive sessions promise_test: Unhandled rejection with value: "Session with params \"inline\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': The specified session configuration is not supported."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame getViewerPose(refSpace) matches getPose(viewer, refSpace). promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[1,2,3],\"orientation\":[0.5,0.5,0.5,0.5]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame methods throw exceptions outside of the requestAnimationFrame callback for immersive sessions promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL XRFrame methods throw exceptions outside of the requestAnimationFrame callback for non-immersive sessions promise_test: Unhandled rejection with value: "Session with params \"inline\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': The specified session configuration is not supported."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame.session meets [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRInputSources can be properly added and removed from the session promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Poses from XRInputSource.gripSpace have emulatedPosition set properly promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL WebXR InputSource's profiles list can be set promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRInputSource attributes meet [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRPose.transform meets [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Updating XRReferenceSpace origin offset updates view and input matrices. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"viewerOrigin\":{\"position\":[1,1,1],\"orientation\":[0.5,0.5,0.5,0.5]},\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[4,3,2],\"orientation\":[0,-0.7071,0,0.7071]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[4,3,2],\"orientation\":[0,-0.7071,0,0.7071]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Updating XRBoundedReferenceSpace origin offset updates view, input matrices, and bounds geometry. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[1,2,3],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[1,2,3],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"floorOrigin\":{\"position\":[0.1,0.2,0.3],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"],\"boundsCoordinates\":[{\"x\":1,\"z\":-1.5},{\"x\":1,\"z\":1.5},{\"x\":-1,\"z\":1.5},{\"x\":-1,\"z\":-1.5}]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Creating XRReferenceSpace origin offset off of `viewer` space works. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"viewerOrigin\":{\"position\":[1,1,1],\"orientation\":[0.5,0.5,0.5,0.5]},\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRRigidTransform constructor works promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRRigidTransform inverse works promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRRigidTransform position and orientation meet [SameObject] requirements promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Immersive XRSession requests with no supported device should reject promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Calling end during an input callback stops processing at the right time promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Test prevention of multiple simultaneous immersive sessions promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL RequestAnimationFrame resolves with good data promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame getViewerPose updates on the next frame for non-immersive sessions promise_test: Unhandled rejection with value: "Session with params \"inline\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': The specified session configuration is not supported."
FAIL XRFrame getViewerPose updates on the next frame for immersive sessions promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Immersive XRSession requestReferenceSpace returns expected objects promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL Non-immersive XRSession requestReferenceSpace returns expected objects promise_test: Unhandled rejection with value: "Session with params \"inline\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': The specified session configuration is not supported."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRSession attributes meet [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensures that the XRSession's visibilityState is correctly reported and that the associated visibilitychange event fires. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL 'floor-level' XRStationaryReferenceSpace updates properly when the transform changes for immersive sessions promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
FAIL 'floor-level' XRStationaryReferenceSpace updates properly when the transform changes for non-immersive sessions promise_test: Unhandled rejection with value: "Session with params \"inline\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': The specified session configuration is not supported."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame contains the expected views promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRView projection matrices update near and far depths on the next frame promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200},\"fieldOfView\":{\"upDegrees\":71.565,\"downDegrees\":-45,\"leftDegrees\":-63.4349,\"rightDegrees\":75.9637},\"projectionMatrix\":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},{\"eye\":\"right\",\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200},\"fieldOfView\":{\"upDegrees\":71.565,\"downDegrees\":-45,\"leftDegrees\":-63.4349,\"rightDegrees\":75.9637},\"projectionMatrix\":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRView attributes meet [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRViewerPose.views meets [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRViewport attributes are valid promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensure a WebGL layer's framebuffer can only be drawn to inside a XR frame promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRWebGLLayer.framebuffer meets [SameObject] requirement promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensure framebuffer scaling works as expected. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Ensure that the framebuffer given by the WebGL layer works with stencil for immersive promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL supportsSession resolves when immersive options supported promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'supportsSession' on 'XRSystem': The specified session configuration is not supported."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL XRFrame.getPose works between eye-level and floor-level spaces promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Immersive session ends if data provider disconnects. promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Inline session ends if magic window data provider disconnects. promise_test: Unhandled rejection with value: "Session with params \"inline\" was rejected on device {\"supportsImmersive\":false,\"supportedModes\":[\"inline\"],\"views\":[{\"eye\":\"none\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': The specified session configuration is not supported."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Outstanding promises get rejected if environmentProvider disconnects promise_test: Unhandled rejection with value: "Session with params \"immersive-ar\" was rejected on device {\"supportedModes\":[\"immersive-ar\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"supportsEnvironmentIntegration\":true,\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Blink appropriately reports when frames are throttled promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL A frame should be submitted if the base layer was written to during requestAnimationFrame promise_test: Unhandled rejection with value: "Session with params \"immersive-vr\" was rejected on device {\"supportsImmersive\":true,\"supportedModes\":[\"inline\",\"immersive-vr\"],\"views\":[{\"eye\":\"left\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[-0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}},{\"eye\":\"right\",\"projectionMatrix\":[1,0,0,0,0,1,0,0,3,2,-1,-1,0,0,-0.2,0],\"viewOffset\":{\"position\":[0.1,0,0],\"orientation\":[0,0,0,1]},\"resolution\":{\"width\":200,\"height\":200}}],\"viewerOrigin\":{\"position\":[0,0,0],\"orientation\":[0,0,0,1]},\"supportedFeatures\":[\"viewer\",\"local\",\"local-floor\",\"bounded-floor\",\"unbounded\",\"hit-test\",\"dom-overlay\",\"light-estimation\"]} with error: NotSupportedError: Failed to execute 'requestSession' on 'XRSystem': No XR hardware found."
Harness: the test ran to completion.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment