aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-07-16 15:22:00 -0700
committerManish Goregaokar <manishsmail@gmail.com>2019-07-16 22:17:05 -0700
commitdf1f865cb2f1baaf398641a92542f5b015a3304e (patch)
tree71f8d5da0e1b04d24cdd451ecfa0ffaf5add3a44 /tests
parent73f1bdac06407f36db4511430df0b45f165eea91 (diff)
downloadservo-df1f865cb2f1baaf398641a92542f5b015a3304e.tar.gz
servo-df1f865cb2f1baaf398641a92542f5b015a3304e.zip
Update xr.requestSession() arguments
Diffstat (limited to 'tests')
-rw-r--r--tests/wpt/mozilla/meta/MANIFEST.json4
-rw-r--r--tests/wpt/mozilla/tests/webxr/create_session.html2
-rw-r--r--tests/wpt/mozilla/tests/webxr/obtain_frame.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json
index 4f86e9942ef..39eaca61b93 100644
--- a/tests/wpt/mozilla/meta/MANIFEST.json
+++ b/tests/wpt/mozilla/meta/MANIFEST.json
@@ -19690,11 +19690,11 @@
"testharness"
],
"webxr/create_session.html": [
- "ddec5add27b84e8e2febe3789d326f1e9fb7f508",
+ "e68ea81893a65793094f9086cdd6d73800ee1c14",
"testharness"
],
"webxr/obtain_frame.html": [
- "063008c7ebc0df9997b8286296b4f7fe4663b331",
+ "39698805b476c7e469548d25ece59560a596604d",
"testharness"
],
"webxr/resources/webxr-util.js": [
diff --git a/tests/wpt/mozilla/tests/webxr/create_session.html b/tests/wpt/mozilla/tests/webxr/create_session.html
index ddec5add27b..e68ea81893a 100644
--- a/tests/wpt/mozilla/tests/webxr/create_session.html
+++ b/tests/wpt/mozilla/tests/webxr/create_session.html
@@ -12,7 +12,7 @@
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"})
+ return navigator.xr.requestSession("immersive-vr")
}).then(() => t.done());
});
</script>
diff --git a/tests/wpt/mozilla/tests/webxr/obtain_frame.html b/tests/wpt/mozilla/tests/webxr/obtain_frame.html
index 063008c7ebc..39698805b47 100644
--- a/tests/wpt/mozilla/tests/webxr/obtain_frame.html
+++ b/tests/wpt/mozilla/tests/webxr/obtain_frame.html
@@ -16,7 +16,7 @@
views: TEST_VIEWS,
viewerOrigin: {position: [0.5, 0.1, 0.1], orientation: [1, 0, 0, 1] }
});
- let session = await navigator.xr.requestSession({mode: "immersive-vr"});
+ let session = await navigator.xr.requestSession("immersive-vr");
await session.updateRenderState({"baseLayer": new XRWebGLLayer(session, gl, {})});
let resolve;