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

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

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 months 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 WebInspector.showPanel("scripts"); 16 WebInspector.showPanel("sources");
17 InspectorTest.startDebuggerTest(step1); 17 InspectorTest.startDebuggerTest(step1);
18 18
19 function step1() 19 function step1()
20 { 20 {
21 DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExc eptionsState.PauseOnUncaughtExceptions); 21 DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExc eptionsState.PauseOnUncaughtExceptions);
22 InspectorTest.addConsoleSniffer(step2); 22 InspectorTest.addConsoleSniffer(step2);
23 InspectorTest.evaluateInPage("loadIframe()"); 23 InspectorTest.evaluateInPage("loadIframe()");
24 } 24 }
25 25
26 function step2() 26 function step2()
27 { 27 {
28 InspectorTest.completeDebuggerTest(); 28 InspectorTest.completeDebuggerTest();
29 } 29 }
30 } 30 }
31 31
32 </script> 32 </script>
33 </head> 33 </head>
34 34
35 <body onload="runTest()"> 35 <body onload="runTest()">
36 <p> 36 <p>
37 Tests that debugger won't stop on syntax errors even if "pause on uncaught excep tions" is on. 37 Tests that debugger won't stop on syntax errors even if "pause on uncaught excep tions" is on.
38 </p> 38 </p>
39 39
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698