1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/webconsole/test/test-console.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 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 test</title> 1.8 + <script type="text/javascript"> 1.9 + function test() { 1.10 + var str = "Dolske Digs Bacon, Now and Forevermore." 1.11 + for (var i=0; i < 5; i++) { 1.12 + console.log(str); 1.13 + } 1.14 + } 1.15 + console.info("INLINE SCRIPT:"); 1.16 + test(); 1.17 + console.warn("I'm warning you, he will eat up all yr bacon."); 1.18 + console.error("Error Message"); 1.19 + </script> 1.20 + </head> 1.21 + <body> 1.22 + <h1 id="header">Heads Up Display Demo</h1> 1.23 + <button onclick="test();">Log stuff about Dolske</button> 1.24 + <div id="myDiv"></div> 1.25 + </body> 1.26 +</html>