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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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