console-call-line-numbers.html   [plain text]

    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 src="resources/script-console-calls.js"></script>
<p>Test for <a href="">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>