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

Unified Diff: third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.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-overrides.html
diff --git a/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html b/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
index 8c814e5d2c285645fc2e5a4f7e62a85cc9d057c2..a274c76bc4f6a12c7413f37de15559e3ba42c0ed 100644
--- a/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
+++ b/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
@@ -8,48 +8,48 @@ function test()
function testFileSystemClashDirectOrder(next)
{
var fileSystemMapping = new WebInspector.FileSystemMapping();
- fileSystemMapping.addFileSystem("//Source/devtools");
+ fileSystemMapping.addFileSystem("/Source/devtools");
- fileSystemMapping.addNonConfigurableFileMapping("//Source/devtools", "chrome-devtools://devtools/bundled/wrong_url", "/");
- fileSystemMapping.addFileMapping("//Source/devtools", "http://localhost:1234/right_url", "/");
+ fileSystemMapping.addNonConfigurableFileMapping("/Source/devtools", "chrome-devtools://devtools/bundled/wrong_url", "/");
+ fileSystemMapping.addFileMapping("/Source/devtools", "http://localhost:1234/right_url", "/");
- InspectorTest.addResult(fileSystemMapping.urlForPath("//Source/devtools", "/file.txt"));
+ InspectorTest.addResult(fileSystemMapping.urlForPath("/Source/devtools", "file:///Source/devtools/file.txt"));
next();
},
function testFileSystemClashReversedOrder(next)
{
var fileSystemMapping = new WebInspector.FileSystemMapping();
- fileSystemMapping.addFileSystem("//Source/devtools");
+ fileSystemMapping.addFileSystem("/Source/devtools");
- fileSystemMapping.addFileMapping("//Source/devtools", "http://localhost:1234/right_url", "/");
- fileSystemMapping.addNonConfigurableFileMapping("//Source/devtools", "chrome-devtools://devtools/wrong_url", "/");
+ fileSystemMapping.addFileMapping("/Source/devtools", "http://localhost:1234/right_url", "/");
+ fileSystemMapping.addNonConfigurableFileMapping("/Source/devtools", "chrome-devtools://devtools/wrong_url", "/");
- InspectorTest.addResult(fileSystemMapping.urlForPath("//Source/devtools", "/file.txt"));
+ InspectorTest.addResult(fileSystemMapping.urlForPath("/Source/devtools", "file:///Source/devtools/file.txt"));
next();
},
function testNetworkClashDirectOrder(next)
{
var fileSystemMapping = new WebInspector.FileSystemMapping();
- fileSystemMapping.addFileSystem("//Source/devtools");
+ fileSystemMapping.addFileSystem("/Source/devtools");
- fileSystemMapping.addNonConfigurableFileMapping("//Source/devtools", "http://localhost:1234/front_end", "/wrong");
- fileSystemMapping.addFileMapping("//Source/devtools", "http://localhost:1234/front_end", "/right");
+ fileSystemMapping.addNonConfigurableFileMapping("/Source/devtools", "http://localhost:1234/front_end", "/wrong");
+ fileSystemMapping.addFileMapping("/Source/devtools", "http://localhost:1234/front_end", "/right");
- InspectorTest.addResult(fileSystemMapping.fileForURL("http://localhost:1234/front_end/file.txt").filePath);
+ InspectorTest.addResult(fileSystemMapping.fileForURL("http://localhost:1234/front_end/file.txt").fileURL);
next();
},
function testNetworkClashReversedOrder(next)
{
var fileSystemMapping = new WebInspector.FileSystemMapping();
- fileSystemMapping.addFileSystem("//Source/devtools");
+ fileSystemMapping.addFileSystem("/Source/devtools");
- fileSystemMapping.addFileMapping("//Source/devtools", "http://localhost:1234/front_end", "/right");
- fileSystemMapping.addNonConfigurableFileMapping("//Source/devtools", "http://localhost:1234/front_end", "/wrong");
+ fileSystemMapping.addFileMapping("/Source/devtools", "http://localhost:1234/front_end", "/right");
+ fileSystemMapping.addNonConfigurableFileMapping("/Source/devtools", "http://localhost:1234/front_end", "/wrong");
- InspectorTest.addResult(fileSystemMapping.fileForURL("http://localhost:1234/front_end/file.txt").filePath);
+ InspectorTest.addResult(fileSystemMapping.fileForURL("http://localhost:1234/front_end/file.txt").fileURL);
next();
},
]);

Powered by Google App Engine
This is Rietveld 408576698