3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script>
9 var iframe = document.createElement("iframe");
10 iframe.src = "resources/syntax-error.html";
11 document.body.appendChild(iframe);
16 WebInspector.showPanel("sources");
17 InspectorTest.startDebuggerTest(step1);
21 DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
22 InspectorTest.addConsoleSniffer(step2);
23 InspectorTest.evaluateInPage("loadIframe()");
28 InspectorTest.completeDebuggerTest();
35 <body onload="runTest()">
37 Tests that debugger won't stop on syntax errors even if "pause on uncaught exceptions" is on.