browser/devtools/webconsole/test/test-console-extras.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <html dir="ltr" xml:lang="en-US" lang="en-US"><head>
     3     <meta charset="utf-8">
     4     <title>Console extended API test</title>
     5     <script type="text/javascript">
     6       function test() {
     7         console.log("start");
     8         console.clear()
     9         console.dirxml()
    10         console.profile()
    11         console.profileEnd()
    12         console.table()
    13         console.log("end");
    14       }
    15     </script>
    16   </head>
    17   <body>
    18     <h1 id="header">Heads Up Display Demo</h1>
    19     <button onclick="test();">Test Extended API</button>
    20     <div id="myDiv"></div>
    21   </body>
    22 </html>

mercurial