| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html
|
| index 2c9941fbd3ffcbe3e85d2d7a0023e02fcb6b3869..5a804d3bc99999c8a9a4771d71f0c62291d543c7 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html
|
| @@ -41,12 +41,14 @@ var test = function()
|
|
|
| function waitForBreakpoints()
|
| {
|
| - var breakpointAddCounter = 2;
|
| + var breakpointAddCounter = 4; // Before source map loaded and after.
|
| var jsBreakpoints = WebInspector.panels.sources.sidebarPanes.jsBreakpoints;
|
| jsBreakpoints.didReceiveBreakpointLineForTest = function(uiSourceCode)
|
| {
|
| if (WebInspector.CompilerScriptMapping.StubProjectID === uiSourceCode.project().id())
|
| return;
|
| + if (!uiSourceCode.url().endsWith("source1.js"))
|
| + return;
|
| --breakpointAddCounter;
|
| if (breakpointAddCounter)
|
| return;
|
|
|