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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/resource-script-mapping.html

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/resource-script-mapping.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/resource-script-mapping.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/resource-script-mapping.html
index 1ca241e15914d47ffb1a3683f28ecd6d88c71673..f6ce3ddd59a4fe496ed54344a660c3fe055c9eaf 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/resource-script-mapping.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/resource-script-mapping.html
@@ -45,7 +45,7 @@ function test()
var rawLocation = InspectorTest.debuggerModel.createRawLocation(script, line, column);
var uiLocation = Bindings.debuggerWorkspaceBinding.rawLocationToUILocation(rawLocation);
InspectorTest.checkUILocation(uiSourceCode, line, column, uiLocation);
- var reverseLocation = Bindings.debuggerWorkspaceBinding.uiLocationToRawLocation(uiSourceCode, line, column);
+ var reverseLocation = Bindings.debuggerWorkspaceBinding.uiLocationToRawLocations(uiSourceCode, line, column)[0];
InspectorTest.checkRawLocation(script, line, column, reverseLocation);
}
InspectorTest.completeTest();

Powered by Google App Engine
This is Rietveld 408576698