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

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

Issue 1813943003: DevTools: automatic mapping detection is broken for cases with specific file paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added expectations Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/file-system-mapping-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 265ede7f4197e8c157f632b3e1bd81c4bc193ad5..78f73e70e83ed66853e352384a5b756d7b75cfd7 100644
--- a/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
+++ b/third_party/WebKit/LayoutTests/inspector/file-system-mapping.html
@@ -7,6 +7,7 @@ function test()
var paths = {
FOO: "file:///home/username/projects/foo",
BAR: "file:///home/username/projects/bar",
+ BUILD: "file:///home/username/project/build",
SITE1: "file:///www/site1"
};
@@ -95,6 +96,7 @@ function test()
checkAndDumpFileSystemMapping(fileSystemMapping);
addFileSystem(fileSystemMapping, paths.FOO)
addFileSystem(fileSystemMapping, paths.BAR)
+ addFileSystem(fileSystemMapping, paths.BUILD)
addFileSystem(fileSystemMapping, paths.SITE1)
// Now fill it with file mappings.
@@ -102,6 +104,7 @@ function test()
addFileMapping(fileSystemMapping, paths.SITE1, "http://www.foo.com/", "/foo/");
addFileMapping(fileSystemMapping, paths.FOO, "http://www.example.com/bar/", "/foo/");
addMappingForResource(fileSystemMapping, "http://www.bar.com/foo/folder/42.js", paths.FOO, paths.FOO + "/baz/folder/42.js");
+ addMappingForResource(fileSystemMapping, "http://localhost:3333/build/layout.css", paths.BUILD, paths.BUILD + "/layout.css");
InspectorTest.addResult("Testing mappings for url:");
dumpFileForURL(fileSystemMapping, "http://www.bar.com/foo/folder/42.js");
@@ -110,6 +113,7 @@ function test()
dumpFileForURL(fileSystemMapping, "https://localhost/index.html");
dumpFileForURL(fileSystemMapping, "http://localhost:8080/index.html");
dumpFileForURL(fileSystemMapping, "http://localhost/");
+ dumpFileForURL(fileSystemMapping, "http://localhost:3333/build/main.css");
InspectorTest.addResult("");
InspectorTest.addResult("Testing mappings for path:");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/file-system-mapping-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698