This is a testharness.js-based test.
[FAIL] Ensures getDepthInformation() throws when not run with stale XRView, `gpu-optimized` - webgl
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\\",\\"anchors\\",\\"depth-sensing\\",\\"secondary-views\\",\\"camera-access\\",\\"layers\\"]} with error: NotSupportedError: The specified session configuration is not supported."
[FAIL] Ensures getDepthInformation() throws when not run with stale XRView, `gpu-optimized` - webgl2
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\\",\\"anchors\\",\\"depth-sensing\\",\\"secondary-views\\",\\"camera-access\\",\\"layers\\"]} with error: NotSupportedError: The specified session configuration is not supported."
Harness: the test ran to completion.