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

Unified Diff: third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html

Issue 2376583002: DevTools: remove WI.NetworkMapping.networkURL (Closed)
Patch Set: do not blackbox fs uiSourceCodes Created 4 years, 3 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/jump-to-previous-editing-location.html
diff --git a/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html b/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
index 4e293de7cbdcb2fc7391e43c75c5d2185de4bcb1..ce777fb93e65dd67f74120ad99e0fb7047768cc1 100644
--- a/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
+++ b/third_party/WebKit/LayoutTests/inspector/jump-to-previous-editing-location.html
@@ -221,7 +221,7 @@ function test()
function onScriptSource(uiSourceCode)
{
var linkifier = new WebInspector.Linkifier();
- var anchorURI = WebInspector.networkMapping.networkURL(uiSourceCode);
+ var anchorURI = uiSourceCode.url();
var anchor = linkifier.linkifyScriptLocation(WebInspector.targetManager.mainTarget(), null, anchorURI, 10, 1);
WebInspector.Revealer.revealPromise(anchor[WebInspector.Linkifier._uiLocationSymbol]).then(function() {
InspectorTest.addResult("Selection: " + panel.visibleView.textEditor.selection().toString());

Powered by Google App Engine
This is Rietveld 408576698