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 InspectorTest
.startDebuggerTest(step1
);
20 InspectorTest
.DebuggerAgent
.setPauseOnExceptions(WebInspector
.DebuggerModel
.PauseOnExceptionsState
.PauseOnUncaughtExceptions
);
21 InspectorTest
.addConsoleSniffer(step2
);
22 InspectorTest
.evaluateInPage("loadIframe()");
27 InspectorTest
.completeDebuggerTest();
34 <body onload=
"runTest()">
36 Tests that debugger won't stop on syntax errors even if
"pause on uncaught exceptions" is on.