Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / console-functions.html
blob71b08e5ab77d3ed344dbbe1d42f2bfe5eb785b0e
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
5 function runTests()
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 console.log("console.log() called.");
11 console.info("console.info() called.");
12 console.warn("console.warn() called.");
13 console.error("console.error() called.");
15 </script>
16 </head>
17 <body onload="runTests();">
18 <p>Tests window.console functions. To make sure this test passed you must check the console for the following 4 messages:</p>
19 <ul>
20 <li>console.log() called.</li>
21 <li>console.info() called.</li>
22 <li>console.warn() called.</li>
23 <li>console.error() called.</li>
24 </ul>
25 </body>
26 </html>