3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/debugger-test.js"></script>
5 <script src=
"../../http/tests/inspector/console-test.js"></script>
7 function testFunction()
15 InspectorTest
.startDebuggerTest(step1
);
19 InspectorTest
.runTestFunctionAndWaitUntilPaused(step2
);
24 InspectorTest
.evaluateInConsole("console.error(42)", step3
);
29 InspectorTest
.resumeExecution(step4
);
34 InspectorTest
.expandConsoleMessages(onExpanded
);
39 var result
= InspectorTest
.dumpConsoleMessagesIntoArray().join("\n");
40 result
= result
.replace(/(\(program\)):\d+/g, "$1");
41 InspectorTest
.addResult(result
);
42 InspectorTest
.completeDebuggerTest();
47 <body onload=
"runTest()">
48 <p>Tests that console.error does not throw exception when executed in console on call frame.
</p>