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

<!doctype html>
<!--
WebXR page without any code specific to one test
-->
<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>
      var deviceChanges = 0;
      navigator.xr.ondevicechange = () => {
        deviceChanges++;
        console.log('Got new device change. Total changes: ' + deviceChanges);
      };

      function resetDeviceChanges() {
        deviceChanges = 0;
      }
    </script>
  </body>
</html>