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

Unified Diff: third_party/WebKit/LayoutTests/inspector/workspace-mapping.html

Issue 1564113003: DevTools: merge uisourcecode's url-alike members. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 11 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/workspace-mapping.html
diff --git a/third_party/WebKit/LayoutTests/inspector/workspace-mapping.html b/third_party/WebKit/LayoutTests/inspector/workspace-mapping.html
index 751a66110e43e45f566d6afcbd231d66b3b18041..fb84492c1ec61ce1cd1345e4c98834b49487671e 100644
--- a/third_party/WebKit/LayoutTests/inspector/workspace-mapping.html
+++ b/third_party/WebKit/LayoutTests/inspector/workspace-mapping.html
@@ -33,7 +33,7 @@ function test()
function dumpHasMappingForURL(url)
{
- var result = networkMapping.hasMappingForURL(url)
+ var result = networkMapping.hasMappingForNetworkURL(url)
if (result)
InspectorTest.addResult(" url " + url + " is mapped.");
else
@@ -43,12 +43,12 @@ function test()
function dumpUISourceCodeForURL(url)
{
var uiSourceCode = networkMapping.uiSourceCodeForURLForAnyTarget(url);
- InspectorTest.addResult(" url " + url + " is mapped to " + (uiSourceCode ? uiSourceCode.uri() : null));
+ InspectorTest.addResult(" url " + url + " is mapped to " + (uiSourceCode ? uiSourceCode.url() : null));
}
function dumpURLForPath(fileSystemPath, filePath)
{
- var url = networkMapping._urlForPath(fileSystemPath, fileSystemPath + "/" + filePath)
+ var url = networkMapping._networkURLForFileSystemURL(fileSystemPath, fileSystemPath + "/" + filePath)
InspectorTest.addResult(" path " + fileSystemPath + " / " + filePath + " is mapped to " + (url ? url : null));
}

Powered by Google App Engine
This is Rietveld 408576698