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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/webconsole/test/test-console-extras.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html dir="ltr" xml:lang="en-US" lang="en-US"><head>
     1.6 +    <meta charset="utf-8">
     1.7 +    <title>Console extended API test</title>
     1.8 +    <script type="text/javascript">
     1.9 +      function test() {
    1.10 +        console.log("start");
    1.11 +        console.clear()
    1.12 +        console.dirxml()
    1.13 +        console.profile()
    1.14 +        console.profileEnd()
    1.15 +        console.table()
    1.16 +        console.log("end");
    1.17 +      }
    1.18 +    </script>
    1.19 +  </head>
    1.20 +  <body>
    1.21 +    <h1 id="header">Heads Up Display Demo</h1>
    1.22 +    <button onclick="test();">Test Extended API</button>
    1.23 +    <div id="myDiv"></div>
    1.24 +  </body>
    1.25 +</html>

mercurial