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

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

Issue 1523193002: DevTools: merge UISourceCode's parentPath, name, originURL and uri. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 5 years 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/file-system-mapping.html
diff --git a/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html b/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
index b476aa2e2e0edfde9bedef48ebb56c6142410187..364bb82ab7fce1119629c20151199ab0472e1db7 100644
--- a/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
+++ b/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
@@ -60,13 +60,13 @@ function test()
if (!fileForURL)
InspectorTest.addResult(" File for '" + url + "': null");
else
- InspectorTest.addResult(" File for '" + url + "': " + fileForURL.fileSystemPath + " / " + fileForURL.filePath);
+ InspectorTest.addResult(" File for '" + url + "': " + fileForURL.fileURL);
}
function dumpURLForPath(fileSystemMapping, fileSystemPath, filePath)
{
var url = fileSystemMapping.urlForPath(fileSystemPath, filePath);
- InspectorTest.addResult(" URL for path '" + fileSystemPath + " / " + filePath + "': " + url);
+ InspectorTest.addResult(" URL for path '" + filePath + "': " + url);
}
function checkAndDumpFileSystemMapping(fileSystemMapping)
@@ -113,15 +113,15 @@ function test()
InspectorTest.addResult("");
InspectorTest.addResult("Testing mappings for path:");
- dumpURLForPath(fileSystemMapping, paths.FOO, "baz/folder/42.js");
- dumpURLForPath(fileSystemMapping, paths.FOO, "baz/folder/43.js");
- dumpURLForPath(fileSystemMapping, paths.FOO, "bar/folder/42.js");
- dumpURLForPath(fileSystemMapping, paths.FOO, "foo/folder/42.js");
- dumpURLForPath(fileSystemMapping, paths.FOO, "foo2/folder/42.js");
- dumpURLForPath(fileSystemMapping, paths.SITE1, "foo/index.html");
- dumpURLForPath(fileSystemMapping, paths.SITE1, "index.html");
- dumpURLForPath(fileSystemMapping, paths.SITE1, "foo");
- dumpURLForPath(fileSystemMapping, paths.SITE1, "foo/");
+ dumpURLForPath(fileSystemMapping, paths.FOO, "file://" + paths.FOO + "/baz/folder/42.js");
+ dumpURLForPath(fileSystemMapping, paths.FOO, "file://" + paths.FOO + "/baz/folder/43.js");
+ dumpURLForPath(fileSystemMapping, paths.FOO, "file://" + paths.FOO + "/bar/folder/42.js");
+ dumpURLForPath(fileSystemMapping, paths.FOO, "file://" + paths.FOO + "/foo/folder/42.js");
+ dumpURLForPath(fileSystemMapping, paths.FOO, "file://" + paths.FOO + "/foo2/folder/42.js");
+ dumpURLForPath(fileSystemMapping, paths.SITE1, "file://" + paths.SITE1 + "/foo/index.html");
+ dumpURLForPath(fileSystemMapping, paths.SITE1, "file://" + paths.SITE1 + "/index.html");
+ dumpURLForPath(fileSystemMapping, paths.SITE1, "file://" + paths.SITE1 + "/foo");
+ dumpURLForPath(fileSystemMapping, paths.SITE1, "file://" + paths.SITE1 + "/foo/");
InspectorTest.addResult("");
// Then create another file mapping to make sure it is correctly restored from the settings.

Powered by Google App Engine
This is Rietveld 408576698