This is a testharness.js-based test.
[FAIL] Only primary views are returned if secondary views are not requested for non-immersive - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Only primary views are returned if secondary views are not requested for non-immersive - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Only primary views are returned if secondary views are not requested for immersive - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Only primary views are returned if secondary views are not requested for immersive - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Requesting secondary views only returns primary views for non-immersive - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Requesting secondary views only returns primary views for non-immersive - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Requesting secondary views returns both primary and secondary views for immersive - webgl
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
[FAIL] Requesting secondary views returns both primary and secondary views for immersive - webgl2
promise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of null (reading 'makeXRCompatible')"
Harness: the test ran to completion.