browser/devtools/webconsole/test/test-console.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 dir="ltr" xml:lang="en-US" lang="en-US"><head>
     3     <meta charset="utf-8">
     4     <title>Console test</title>
     5     <script type="text/javascript">
     6       function test() {
     7         var str = "Dolske Digs Bacon, Now and Forevermore."
     8         for (var i=0; i < 5; i++) {
     9           console.log(str);
    10         } 
    11       }
    12       console.info("INLINE SCRIPT:");
    13       test();
    14       console.warn("I'm warning you, he will eat up all yr bacon.");
    15       console.error("Error Message");
    16     </script>
    17   </head>
    18   <body>
    19     <h1 id="header">Heads Up Display Demo</h1>
    20     <button onclick="test();">Log stuff about Dolske</button>
    21     <div id="myDiv"></div>
    22   </body>
    23 </html>

mercurial