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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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