tor-browser

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

depth_sensing_gpu_pauseResume.https.html (894B)


      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="../pauseResumeTests.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 appropriate data availability with (pause|resume)DepthSensing, `gpu-optimized`",
     20  pauseResumeTestFunction,
     21  fakeDeviceInitParams,
     22  'immersive-ar', {
     23    requiredFeatures: ['depth-sensing'],
     24    depthSensing: VALID_DEPTH_CONFIG_GPU_USAGE,
     25  });
     26 
     27 </script>