3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/console-test.js"></script>
9 console
.assert(false, 1);
10 console
.assert(false, "a", "b");
17 //# sourceURL=console-assert.html
26 if (++callCount
=== 2)
27 InspectorTest
.expandConsoleMessages(onExpandedMessages
);
30 function onExpandedMessages()
32 InspectorTest
.dumpConsoleMessages();
33 InspectorTest
.completeTest();
36 InspectorTest
.evaluateInPage("setTimeout(a, 0)");
37 InspectorTest
.addConsoleSniffer(callback
, true);
43 <body onload=
"runTest()">
45 Tests that console.assert() will dump a message and stack trace with source URLs and line numbers.