3 <script src=
"../inspector/inspector-test.js"></script>
4 <script src=
"../inspector/console-test.js"></script>
5 <script type=
"text/javascript">
9 testRunner
.waitUntilDone();
10 setTimeout(showInspectorAndRunTest
, 0);
12 var scriptContents
= "function boo(){ \n boo(); \n } \n function foo() { \n boo();} \n //# sourceURL=foo2.js";
18 function showInspectorAndRunTest()
20 if (window
.testRunner
)
21 testRunner
.showWebInspector();
27 InspectorTest
.expandConsoleMessages();
28 InspectorTest
.dumpConsoleMessages();
29 InspectorTest
.addResult("TEST COMPLETE");
30 InspectorTest
.completeTest();
34 <body onload=
"onload()">
35 <p>Tests that when stack overflow happens before inspector is open source url is correctly shown in console.
</p>