mirror of
https://github.com/servo/servo.git
synced 2025-09-07 21:48:21 +01:00
Support .supportedModes to enable newer tests
This commit is contained in:
parent
ef6ee5e2a1
commit
7f353033f4
10 changed files with 32 additions and 22 deletions
|
@ -14609,21 +14609,21 @@
|
|||
},
|
||||
"webxr": {
|
||||
"create_session.html": [
|
||||
"af76c5a812d7d05a0158194560933def3fbdb9f9",
|
||||
"5b5d485b372bfffb22204bc162c9e182306395cb",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"layers.html": [
|
||||
"31f4b6bd51cfcca47666331857bd2bbdf84d2f5e",
|
||||
"49821d7661f92bc9cf22232d3fcb391c2cdc7295",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"obtain_frame.html": [
|
||||
"74fda5bad43e8ea95552e65380e83952680e8469",
|
||||
"d9ff25729f9cdfd348e7c9914ce2dacd231e13a0",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<script>
|
||||
async_test(function(t) {
|
||||
navigator.xr.test.simulateDeviceConnection({
|
||||
supportsImmersive: true,
|
||||
supportedModes: ["immersive-vr"],
|
||||
views: TEST_VIEWS,
|
||||
viewerOrigin: {position: [0.5, 0.1, 0.1], orientation: [1, 0, 0, 1] }
|
||||
}).then((m) => {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
let gl = canvas.getContext('webgl');
|
||||
promise_test(async function() {
|
||||
let mock = await navigator.xr.test.simulateDeviceConnection({
|
||||
supportsImmersive: true,
|
||||
supportedModes: ["immersive-vr"],
|
||||
views: TEST_VIEWS,
|
||||
viewerOrigin: {position: [0.5, 0.1, 0.1], orientation: [1, 0, 0, 1] }
|
||||
});
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
let gl = canvas.getContext('webgl');
|
||||
promise_test(async function() {
|
||||
let mock = await navigator.xr.test.simulateDeviceConnection({
|
||||
supportsImmersive: true,
|
||||
supportedModes: ["immersive-vr"],
|
||||
views: TEST_VIEWS,
|
||||
viewerOrigin: {position: [0.5, 0.1, 0.1], orientation: [1, 0, 0, 1] }
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue