| 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..e369d8f8817c037c8a33507a39d10fd602a4ed88 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/file-system-mapping-overrides.html
|
| @@ -8,34 +8,34 @@ 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);
|
| next();
|
| @@ -44,10 +44,10 @@ function test()
|
| 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);
|
| next();
|
|
|