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

Unified Diff: LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.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
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector-enabled/search/sources-search-scope-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
diff --git a/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html b/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
index 32dda20cc86dc25459234aba746aaf74f5a91c80..ecaf2f5441fd2238999eac16b664c27db8c1fb20 100644
--- a/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
+++ b/LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html
@@ -161,6 +161,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:127.0.0.1";
+ 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:128.0.0.1";
+ searchConfig = new WebInspector.SearchConfig(query, true, false);
+ runSearchAndDumpResults(searchConfig, next);
+ }
+ },
]);
}
}
« no previous file with comments | « no previous file | LayoutTests/http/tests/inspector-enabled/search/sources-search-scope-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698