1 <script> 2 console.info("Test console.info"); 3 console.log("Test console.log"); 4 console.warn("Test console.warn"); 5 console.error("Test console.error"); 6 console.time("Test console.time"); 7 console.timeEnd("Test console.time"); 8 console.count("Test console.count"); 9 console.assert(false, "Test console.assert"); 10 </script> 11 <script src="resources/script-console-calls.js"></script> 12 <body> 13 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=17234">Bug 17234: Inspector should link console.{log,warn,info,error} back to call site</a>.</p> 14 <p>To test, open the Inspector's Console and verify that all console messages have correct resource URLs and line numbers. Also verify that errors and warnings show up inline as bubbles in the resource source view.</p> 15