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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.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/sources/debugger/file-system-project-mapping.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
index c6568e430fe9e915b541c051bc850e4c7001f850..f4c1bf9c73c6a5bc0819e6c83cd71261bfeb2368 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
@@ -33,8 +33,8 @@ function test()
InspectorTest.addResult("UISourceCode uri to url mappings:");
for (var uiSourceCode of uiSourceCodes) {
var binding = persistence.binding(uiSourceCode);
- var networkURL = binding ? binding.network.url() : "";
- InspectorTest.addResult(" " + uiSourceCode.url() + " -> " + networkURL);
+ var url = binding ? binding.network.url() : "";
+ InspectorTest.addResult(" " + uiSourceCode.url() + " -> " + url);
}
}
@@ -94,8 +94,7 @@ function test()
InspectorTest.addMockUISourceCodeViaNetwork("http://localhost/bar.js", WebInspector.resourceTypes.Script, "<foo content>", target);
dumpFileSystemUISourceCodesMappings();
- var networkURL = InspectorTest.testNetworkMapping.networkURL(networkUISourceCode);
- WebInspector.fileSystemMapping.removeMappingForURL(networkURL);
+ WebInspector.fileSystemMapping.removeMappingForURL(networkUISourceCode.url());
fs.reportRemoved();
next();
}

Powered by Google App Engine
This is Rietveld 408576698