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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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