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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/debugger-reload-breakpoints-with-source-maps.html

Issue 1801873002: [DevTools] Fixed debugger-reload-breakpoints-with-source-maps.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698