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(); |
}, |
]); |