blob: 69a35c2510983550993f630ea6f0a165c2e89369 [file] [log] [blame]
<!DOCTYPE html>
<body>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src="resources/webxr_util.js"></script>
<script>
xr_promise_test(
"supportsSessionMode resolves when inline options supported",
(t) => {
return XRTest.simulateDeviceConnection({ supportsImmersive:true })
.then( (controller) => {
// Inline sessions should be supported.
return navigator.xr.supportsSessionMode('inline');
});
});
</script>
</body>