https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7c998af1493f2690b300d7ec321bcc62bf428fca authored by Brandon Jones on 21 December 2018, 18:45:11 UTC
Replace XRCoodinateSystem/FrameOfReference with XRSpace/XRReferenceSpace
Tip revision: 7c998af
xrDevice_supportsSession_immersive.https.html
<!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 immersive options supported",
      () => {
        return XRTest.simulateDeviceConnection({ supportsImmersive:true })
          .then( (controller) => { return navigator.xr.requestDevice() })
          .then( (device) => device.supportsSession({ immersive: true }));
      });
  </script>
</body>
back to top