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

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

Issue 1369063002: DevTools: merge excluded folder manager into isolated file system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
index 10307323fcd5f75b4096c8cafe001b93782fc3b4..d1b450d40ea8f1ea7aa8f0346f1f9f9bdbaed076 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
@@ -279,35 +279,6 @@ function test()
}
},
- function testExcludingFolders(next)
- {
- function dumpWorkspaceUISourceCodes()
- {
- InspectorTest.addResult("Dumping uiSourceCodes origin URLs:");
- var uiSourceCodes = InspectorTest.testWorkspace.uiSourceCodes();
- for (var i = 0; i < uiSourceCodes.length; ++i)
- InspectorTest.addResult(" - " + uiSourceCodes[i].originURL());
- }
-
- var fileSystemPath = "/var/www";
- var fileSystemProjectId = WebInspector.FileSystemWorkspaceBinding.projectId(fileSystemPath);
- var files = {"/html/foo.js": "", "/.git/foogit.js": "", "/bar.js": "", "/html2/foo.js": ""};
-
- createObjects();
-
- InspectorTest.addResult("Adding file system.");
- manager.addMockFileSystem(fileSystemPath);
- InspectorTest.addResult("Adding exclusion pattern and excluded folder.");
- InspectorTest.testExcludedFolderManager.addExcludedFolder(fileSystemPath, "/html/");
- manager.addFiles(fileSystemPath, files);
- dumpWorkspaceUISourceCodes();
- InspectorTest.addResult("Excluding html2 folder:");
- InspectorTest.testWorkspace.uiSourceCodes()[0].project().excludeFolder("/html2/");
- dumpWorkspaceUISourceCodes();
- InspectorTest.testExcludedFolderManager.removeExcludedFolder(fileSystemPath, "/html/");
- next();
- },
-
function testRemoveProject(next)
{
function dumpWorkspaceUISourceCodes()

Powered by Google App Engine
This is Rietveld 408576698