mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +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
|
@ -1,4 +0,0 @@
|
|||
[xrDevice_isSessionSupported_immersive-ar.https.html]
|
||||
[isSessionSupported resolves to false for immersive-ar on an unsupported device]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[xrDevice_requestSession_immersive-ar.https.html]
|
||||
[Tests requestSession rejects immersive-ar mode when unsupported]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[ar_dom_overlay.https.html]
|
||||
expected: ERROR
|
||||
[Ensures DOM Overlay element selection works]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6,7 +7,7 @@
|
|||
expected: FAIL
|
||||
|
||||
[Ensures DOM Overlay input deduplication works]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Ensures DOM Overlay feature works for immersive-ar, body element]
|
||||
expected: FAIL
|
||||
|
@ -15,11 +16,11 @@
|
|||
expected: FAIL
|
||||
|
||||
[Ensures DOM Overlay Fullscreen API doesn't change DOM overlay]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Ensures DOM Overlay feature works for immersive-ar, div element]
|
||||
expected: FAIL
|
||||
|
||||
[Ensures DOM Overlay interactions on cross origin iframe are ignored]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
[ar_dom_overlay_hit_test.https.html]
|
||||
expected: ERROR
|
||||
[Ensures DOM Overlay interactions on cross origin iframe do not cause hit test results to come up]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -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