tor-browser

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

critical-ch.navigation-timing.no-restart.https.html (473B)


      1 <!DOCTYPE html>
      2 <body>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <script>
      6 promise_test(async t => {
      7  var navigationTiming = window.performance.getEntriesByType('navigation')[0];
      8  assert_not_equals(navigationTiming, undefined);
      9  assert_equals(navigationTiming.criticalCHRestart, 0, "This should be 0 as there was no restart.");
     10 }, "Critical-CH no-restart navigation timing test");
     11 </script>
     12 </body>
     13 </html>