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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-skip-exceptions.html

Issue 1754483002: [DevTools] Added setBlackboxPatterns method to protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@provide-hash-for-anonymous-scripts
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-skip-exceptions.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-skip-exceptions.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-skip-exceptions.html
index 0899fcb4c8dbfa487f4e8df273a7988b88334efb..674a64e232ae7d5ab73e1b9b3d212dd15373aea9 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-skip-exceptions.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-skip-exceptions.html
@@ -17,13 +17,17 @@ function testFunction()
function test()
{
var frameworkRegexString = "/framework\\.js$";
+ InspectorTest.addSniffer(WebInspector.BlackboxManager.prototype, "_patternChangeFinishedForTests", step1);
WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexString);
- InspectorTest.setQuiet(true);
- InspectorTest.startDebuggerTest(step1);
-
function step1()
{
+ InspectorTest.setQuiet(true);
+ InspectorTest.startDebuggerTest(step2);
+ }
+
+ function step2()
+ {
InspectorTest.DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnAllExceptions);
InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
}

Powered by Google App Engine
This is Rietveld 408576698