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); |
} |