browser/devtools/webconsole/test/test-bug-658368-time-methods.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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>
    14     <script type="text/javascript">
    15       function foo() {
    16         console.timeEnd("aTimer");
    17       }
    18       console.time("aTimer");
    19       foo();
    20       console.time("bTimer");
    21     </script>
    22   </body>
    23 </html>

mercurial