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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/pause-on-blocked-by-csp.js

Issue 1552593002: Disable watchdog in debugger-pause-on-blocked-event-handler.html test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 function test() 1 function test()
2 { 2 {
3 InspectorTest.startDebuggerTest(step1); 3 InspectorTest.startDebuggerTest(step1);
4 4
5 function step1() 5 function step1()
6 { 6 {
7 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.PauseOnUncaughtExceptions); 7 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.PauseOnUncaughtExceptions);
8 InspectorTest.evaluateInPage("setTimeout(testAction, 100);"); 8 InspectorTest.evaluateInPage("setTimeout(testAction, 100);");
9 InspectorTest.waitUntilPausedAndDumpStackAndResume(step2); 9 InspectorTest.waitUntilPausedAndDumpStackAndResume(step2);
10 } 10 }
11 11
12 function step2() 12 function step2()
13 { 13 {
14 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.DontPauseOnExceptions); 14 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.DontPauseOnExceptions);
15 InspectorTest.completeDebuggerTest(); 15 InspectorTest.completeDebuggerTest();
16 } 16 }
17 } 17 }
18 18
19 window.addEventListener("load", runTest); 19 window.addEventListener("load", runTest.bind(null, false));
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698