https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7da4e3fdf745990e52bb535e8e6d317cd21f2121 authored by Madeleine Barowsky on 21 December 2018, 02:41:02 UTC
WIP to add native YUV support for lossy WebP without alpha in the GPU rasterization non-OOPR case.
Tip revision: 7da4e3f
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