| <script> |
| console.info("Test console.info"); |
| console.log("Test console.log"); |
| console.warn("Test console.warn"); |
| console.error("Test console.error"); |
| console.time("Test console.time"); |
| console.timeEnd("Test console.time"); |
| console.count("Test console.count"); |
| console.assert(false, "Test console.assert"); |
| </script> |
| <script src="resources/script-console-calls.js"></script> |
| <body> |
| <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> |
| <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> |