mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision 6fa9de7201cd41564d02c3edd62365aeb40e171b
This commit is contained in:
parent
60f1ffc5a7
commit
dc1f7ba3ec
124 changed files with 2052 additions and 849 deletions
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src="resources/webxr_util.js"></script>
|
||||
<script src="resources/webxr_test_constants.js"></script>
|
||||
<canvas></canvas>
|
||||
<script>
|
||||
xr_session_promise_test(
|
||||
"Tests requestSession accepts XRSessionInit dictionary",
|
||||
(session) => {
|
||||
assert_not_equals(session, null);
|
||||
}, TRACKED_IMMERSIVE_DEVICE, 'immersive-vr', {});
|
||||
|
||||
xr_session_promise_test(
|
||||
"Tests requestSession accepts XRSessionInit dictionary with empty feature lists",
|
||||
(session) => {
|
||||
assert_not_equals(session, null);
|
||||
}, TRACKED_IMMERSIVE_DEVICE, 'immersive-vr', {requiredFeatures: [], optionalFeatures: []});
|
||||
|
||||
xr_session_promise_test(
|
||||
"Tests requestSession ignores unknown optionalFeatures",
|
||||
(session) => {
|
||||
assert_not_equals(session, null);
|
||||
}, TRACKED_IMMERSIVE_DEVICE, 'immersive-vr', {optionalFeatures: ['unicorns']});
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue