mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Update requiredness of some fields
This commit is contained in:
parent
c19240a454
commit
480a9988d1
6 changed files with 30 additions and 40 deletions
|
@ -19683,15 +19683,15 @@
|
|||
"testharness"
|
||||
],
|
||||
"webxr/create_session.html": [
|
||||
"306ab85d3b1b914d2dd7c11a3b03dccd990148ae",
|
||||
"ddec5add27b84e8e2febe3789d326f1e9fb7f508",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/obtain_frame.html": [
|
||||
"99d8fd1ef152e4030444c3ca42482d28c3e855d3",
|
||||
"e2b4424d5779baedf6bdb50f1b3151336f31a4cb",
|
||||
"testharness"
|
||||
],
|
||||
"webxr/resources/webxr-util.js": [
|
||||
"b644ba72ac801bc8f659e9678d31ab23db0b7281",
|
||||
"554c1c183d3710e54dc60704dad0aac542ffd67c",
|
||||
"support"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -2,11 +2,16 @@
|
|||
<head>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="./resources/webxr-util.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
async_test(function(t) {
|
||||
navigator.xr.test.simulateDeviceConnection({supportsImmersive: true}).then((m) => {
|
||||
navigator.xr.test.simulateDeviceConnection({
|
||||
supportsImmersive: true,
|
||||
views: TEST_VIEWS,
|
||||
viewerOrigin: {position: [0.5, 0.1, 0.1], orientation: [1, 0, 0, 1] }
|
||||
}).then((m) => {
|
||||
return navigator.xr.requestSession({mode: "immersive-vr"})
|
||||
}).then(() => t.done());
|
||||
});
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
let mock = await navigator.xr.test.simulateDeviceConnection({
|
||||
supportsImmersive: true,
|
||||
views: TEST_VIEWS,
|
||||
viewerOrigin: {position: [0.5, 0.1, 0.1, 1], orientation: [1, 0, 0, 1] }
|
||||
viewerOrigin: {position: [0.5, 0.1, 0.1], orientation: [1, 0, 0, 1] }
|
||||
});
|
||||
let session = await navigator.xr.requestSession({mode: "immersive-vr"});
|
||||
await session.updateRenderState({"baseLayer": new XRWebGLLayer(session, gl, {})});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue