mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
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
14 lines
No EOL
439 B
HTML
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> |