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

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

Issue 2112593003: [DevTools] Remove [V8] from InspectorInstrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrated to inspector-protocol test Created 4 years, 5 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
(Empty)
1 function test()
2 {
3 InspectorTest.startDebuggerTest(step1);
4
5 function step1()
6 {
7 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.PauseOnUncaughtExceptions);
8 InspectorTest.evaluateInPage("setTimeout(testAction, 100);");
9 InspectorTest.waitUntilPausedAndDumpStackAndResume(step2);
10 }
11
12 function step2()
13 {
14 InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerMo del.PauseOnExceptionsState.DontPauseOnExceptions);
15 InspectorTest.completeDebuggerTest();
16 }
17 }
18
19 window.addEventListener("load", runTest.bind(null, false));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698