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

Unified Diff: LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html

Issue 376163002: DevTools: Search across files should work for file:folderName queries. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html
diff --git a/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html b/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html
index cd9d93476e1b4ff7336ec2ff0299c25a5e15624c..8a0d6903385bd79efc6772208bff8ca8a7ad819c 100644
--- a/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html
+++ b/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.html
@@ -191,6 +191,22 @@ function test()
var searchConfig = new WebInspector.SearchConfig(query, true, false);
runSearchAndDumpResults(searchConfig, next);
},
+
+ function testFileQueryWithProjectName(next)
+ {
+ InspectorTest.addResult("Running a file query with existing project name first:");
+ var query = "searchTest" + "Unique" + " file:www";
+ var searchConfig = new WebInspector.SearchConfig(query, true, false);
+ runSearchAndDumpResults(searchConfig, step2);
+
+ function step2()
+ {
+ InspectorTest.addResult("Running a file query with non-existing project name now:");
+ query = "searchTest" + "Unique" + " file:zzz";
+ searchConfig = new WebInspector.SearchConfig(query, true, false);
+ runSearchAndDumpResults(searchConfig, next);
+ }
+ },
]);
}

Powered by Google App Engine
This is Rietveld 408576698