tor-browser

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

test-time-methods.html (614B)


      1 <!DOCTYPE html>
      2 <html>
      3 <!-- Any copyright is dedicated to the Public Domain.
      4   http://creativecommons.org/publicdomain/zero/1.0/ -->
      5  <head>
      6    <meta charset="utf-8">
      7    <title>Test for bug 658368: Expand console object with time and timeEnd
      8      methods</title>
      9  </head>
     10  <body>
     11    <h1>Test for bug 658368: Expand console object with time and timeEnd
     12      methods</h1>
     13 
     14    <script type="text/javascript">
     15      /* eslint-disable */
     16      function foo() {
     17        console.timeEnd("aTimer");
     18      }
     19      console.time("aTimer");
     20      foo();
     21      console.time("bTimer");
     22    </script>
     23  </body>
     24 </html>