Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-autocontinue-on-syntax-error.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script> 5 <script>
6 6
7 function loadIframe() 7 function loadIframe()
8 { 8 {
9 var iframe = document.createElement("iframe"); 9 var iframe = document.createElement("iframe");
10 iframe.src = "resources/syntax-error.html"; 10 iframe.src = "resources/syntax-error.html";
11 document.body.appendChild(iframe); 11 document.body.appendChild(iframe);
12 } 12 }
13 13
14 function test() 14 function test()
15 { 15 {
16 InspectorTest.startDebuggerTest(step1); 16 InspectorTest.startDebuggerTest(step1);
17 17
18 function step1() 18 function step1()
19 { 19 {
20 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.PauseOnUncaughtExceptions); 20 InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.Pause OnExceptionsState.PauseOnUncaughtExceptions);
21 InspectorTest.addConsoleSniffer(step2); 21 InspectorTest.addConsoleSniffer(step2);
22 InspectorTest.evaluateInPage("loadIframe()"); 22 InspectorTest.evaluateInPage("loadIframe()");
23 } 23 }
24 24
25 function step2() 25 function step2()
26 { 26 {
27 InspectorTest.completeDebuggerTest(); 27 InspectorTest.completeDebuggerTest();
28 } 28 }
29 } 29 }
30 30
31 </script> 31 </script>
32 </head> 32 </head>
33 33
34 <body onload="runTest()"> 34 <body onload="runTest()">
35 <p> 35 <p>
36 Tests that debugger won't stop on syntax errors even if "pause on uncaught excep tions" is on. 36 Tests that debugger won't stop on syntax errors even if "pause on uncaught excep tions" is on.
37 </p> 37 </p>
38 38
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698