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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js

Issue 2857453002: DevTools: support resolving a UILocation to multiple raw script locations (Closed)
Patch Set: get rid of uniqueScriptId() Created 3 years, 8 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-breakpoints/breakpoint-manager.js
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js
index b0006e5bdce566a52200cbc14ef2e847d5a60c63..1f216adea739281d882a3b344161169ab5d931d2 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/breakpoint-manager.js
@@ -35,11 +35,11 @@ InspectorTest.initializeDefaultMappingOnTarget = function(target)
return InspectorTest.uiSourceCodes[rawLocation.scriptId].uiLocation(rawLocation.lineNumber, 0);
},
- uiLocationToRawLocation: function(uiSourceCode, lineNumber)
+ uiLocationToRawLocations: function(uiSourceCode, lineNumber)
{
if (!InspectorTest.uiSourceCodes[uiSourceCode.url()])
- return null;
- return new SDK.DebuggerModel.Location(target.debuggerModel, uiSourceCode.url(), lineNumber, 0);
+ return [];
+ return [new SDK.DebuggerModel.Location(target.debuggerModel, uiSourceCode.url(), lineNumber, 0)];
},
isIdentity: function()

Powered by Google App Engine
This is Rietveld 408576698