chromium/chrome/test/data/xr/e2e_test_files/html/test_window_raf_fires_during_non_immersive_session.html

<!doctype html>
<!--
Tests that window.rAF continues to fire during a non-immersive session.
-->
<html>
  <head>
    <link rel="stylesheet" type="text/css" href="../resources/webxr_e2e.css">
  </head>
  <body>
    <canvas id="webgl-canvas"></canvas>
    <script src="../../../../../../third_party/blink/web_tests/resources/testharness.js"></script>
    <script src="../resources/webxr_e2e.js"></script>
    <script src="../resources/webxr_boilerplate.js"></script>
    <script>
      onMagicWindowXRFrameCallback = function() {
        console.log('Got magic window frame');
        window.requestAnimationFrame( () => {
          done();
        });
      }
    </script>
  </body>
</html>