tor-browser

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

nav2-test-instance-accessible-from-the-start.html (548B)


      1 <!DOCTYPE html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script>
      5 test(function() {
      6  var navigationTiming2 = window.performance.getEntriesByType('navigation')[0];
      7  assert_not_equals(navigationTiming2, undefined);
      8  assert_equals(navigationTiming2.entryType, "navigation");
      9  assert_equals(navigationTiming2.startTime, 0);
     10  assert_equals(navigationTiming2.initiatorType, "navigation");
     11  done();
     12 }, "PerformanceNavigationTiming instance exists with reasonable values.");
     13 </script>