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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:efd54abe4e41
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