    // may override what is drawn here to show the user it's own error
        // message, so it should not be anything critical to the application's
        // use.
      }

      // Per-frame scene teardown. Nothing WebXR specific here.
      scene.endFrame();
    }

    // Start the XR application.
    initXR();
  </script>
</body>

</html>
