gecko-dev/testing/web-platform/tests/webxr/xrDevice_requestSession_immersive.https.html
Brandon Jones 983eac3607 Bug 1523562 [wpt PR 14828] - Removed XRDevice interface, a=testonly
Automatic update from web-platform-tests
Removed XRDevice interface

This changes the entry point into the WebXR APIs, as described
by the latest spec changes. It makes the concept of which physical
piece of hardware is being used implicit. The CL is unfortunately
large, but that's almost entirely due to the number of tests that the
change affects.

Bug: 916299
Change-Id: I32f2acec810761bbddd1f6df6e8ca91673dd381e
Reviewed-on: https://chromium-review.googlesource.com/c/1383393
Commit-Queue: Brandon Jones <bajones@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626199}

--

wpt-commits: 8d51019f62e3a85f920a2502711beba1193a9d16
wpt-pr: 14828
2019-02-07 21:51:13 +00:00

14 lines
No EOL
439 B
HTML

<!DOCTYPE html>
<body>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src="resources/webxr_util.js"></script>
<canvas></canvas>
<script>
xr_session_promise_test(
"Tests requestSession resolves when supported",
(session) => {
assert_not_equals(session, null);
}, { supportsImmersive:true }, { mode: 'immersive-vr' });
</script>
</body>