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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-mute-exception.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 throwAnException() 7 function throwAnException()
8 { 8 {
9 var a; 9 var a;
10 try { 10 try {
(...skipping 13 matching lines...) Expand all
24 { 24 {
25 throwAnException(); 25 throwAnException();
26 } 26 }
27 27
28 var test = function() 28 var test = function()
29 { 29 {
30 InspectorTest.startDebuggerTest(step1); 30 InspectorTest.startDebuggerTest(step1);
31 31
32 function step1() 32 function step1()
33 { 33 {
34 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.PauseOnAllExceptions); 34 InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.Pause OnExceptionsState.PauseOnAllExceptions);
35 InspectorTest.showScriptSource("debugger-mute-exception.html", step2); 35 InspectorTest.showScriptSource("debugger-mute-exception.html", step2);
36 } 36 }
37 37
38 function step2(sourceFrame) 38 function step2(sourceFrame)
39 { 39 {
40 InspectorTest.addResult("Script source was shown."); 40 InspectorTest.addResult("Script source was shown.");
41 InspectorTest.setBreakpoint(sourceFrame, 10, "false", true); 41 InspectorTest.setBreakpoint(sourceFrame, 10, "false", true);
42 InspectorTest.setBreakpoint(sourceFrame, 14, "false", true); 42 InspectorTest.setBreakpoint(sourceFrame, 14, "false", true);
43 InspectorTest.evaluateInPage("setTimeout(handleClick, 0)"); 43 InspectorTest.evaluateInPage("setTimeout(handleClick, 0)");
44 InspectorTest.waitUntilPausedAndDumpStackAndResume(step3); 44 InspectorTest.waitUntilPausedAndDumpStackAndResume(step3);
45 } 45 }
46 46
47 function step3() 47 function step3()
48 { 48 {
49 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.DontPauseOnExceptions); 49 InspectorTest.DebuggerAgent.setPauseOnExceptions(SDK.DebuggerModel.Pause OnExceptionsState.DontPauseOnExceptions);
50 InspectorTest.completeDebuggerTest(); 50 InspectorTest.completeDebuggerTest();
51 } 51 }
52 } 52 }
53 53
54 </script> 54 </script>
55 </head> 55 </head>
56 56
57 <body onload="runTest()"> 57 <body onload="runTest()">
58 <p> 58 <p>
59 Tests that pause on exception is muted when conditional breakpoint is set to "fa lse". 59 Tests that pause on exception is muted when conditional breakpoint is set to "fa lse".
60 </p> 60 </p>
61 61
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698