tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

depth_sensing_cpu_dataUnavailable.https.html (899B)


      1 <!DOCTYPE html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script src="../../resources/webxr_util.js"></script>
      5 <script src="../../resources/webxr_test_asserts.js"></script>
      6 <script src="../../resources/webxr_test_constants.js"></script>
      7 <script src="../../resources/webxr_test_constants_fake_depth.js"></script>
      8 <script src="../dataUnavailableTests.js"></script>
      9 
     10 <script>
     11 
     12 const fakeDeviceInitParams = {
     13  supportedModes: ["immersive-ar"],
     14  views: VALID_VIEWS,
     15  supportedFeatures: ALL_FEATURES,
     16  depthSensingData: DEPTH_SENSING_DATA,
     17 };
     18 
     19 xr_session_promise_test("Ensures depth data is not available when cleared in the controller, `cpu-optimized`",
     20  dataUnavailableTestFunction,
     21  fakeDeviceInitParams,
     22  'immersive-ar', {
     23    requiredFeatures: ['depth-sensing'],
     24    depthSensing: VALID_DEPTH_CONFIG_CPU_USAGE,
     25  });
     26 
     27 </script>