tor-browser

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

test-timing-attributes-exist.html (1036B)


      1 <!DOCTYPE html>
      2 <html>
      3    <head>
      4        <meta charset="utf-8" />
      5        <title>window.performance.timing attributes</title>
      6        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      7        <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-navigation-timing-interface"/>
      8        <script src="/resources/testharness.js"></script>
      9        <script src="/resources/testharnessreport.js"></script>
     10        <script src="/common/performance-timeline-utils.js"></script>
     11        <script src="resources/webperftestharness.js"></script>
     12    </head>
     13    <body>
     14        <h1>Description</h1>
     15        <p>This test validates that all of the window.performance.timing attributes exist (but does not validate that their values are correct).</p>
     16 
     17        <div id="log"></div>
     18 
     19        <script>
     20        test_namespace('timing');
     21 
     22        for (var i = 0; i < timingAttributes.length; ++i)
     23        {
     24            test_attribute_exists('timing', timingAttributes[i]);
     25        }
     26        </script>
     27    </body>
     28 </html>