<!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( | |
"supportsSession resolves when inline options supported", | |
(t) => { | |
return XRTest.simulateDeviceConnection({ supportsImmersive:true }) | |
.then( (controller) => { | |
// Inline sessions should be supported. | |
return navigator.xr.supportsSession('inline'); | |
}); | |
}); | |
</script> | |
</body> |