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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Change inspected iframe's "src" attribute.</title> 3 <title>Change inspected iframe's "src" attribute.</title>
4 <script src="../../inspector/inspector-test.js"></script> 4 <script src="../../inspector/inspector-test.js"></script>
5 <script src="../../inspector/resources-test.js"></script> 5 <script src="../../inspector/resources-test.js"></script>
6 <script src="../../inspector/network-test.js"></script> 6 <script src="../../inspector/network-test.js"></script>
7 <script> 7 <script>
8 function onload() 8 function onload()
9 { 9 {
10 if (window.testRunner) 10 if (window.testRunner)
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 var searchConfig = new WebInspector.SearchConfig(query, true, fa lse); 154 var searchConfig = new WebInspector.SearchConfig(query, true, fa lse);
155 runSearchAndDumpResults(searchConfig, next); 155 runSearchAndDumpResults(searchConfig, next);
156 }, 156 },
157 157
158 function testSeveralQueriesFileNotCSS(next) 158 function testSeveralQueriesFileNotCSS(next)
159 { 159 {
160 var query = "searchTest" + "Unique" + " -file:css " + " space" + " String"; 160 var query = "searchTest" + "Unique" + " -file:css " + " space" + " String";
161 var searchConfig = new WebInspector.SearchConfig(query, true, fa lse); 161 var searchConfig = new WebInspector.SearchConfig(query, true, fa lse);
162 runSearchAndDumpResults(searchConfig, next); 162 runSearchAndDumpResults(searchConfig, next);
163 }, 163 },
164
165 function testFileQueryWithProjectName(next)
166 {
167 InspectorTest.addResult("Running a file query with existing proj ect name first:");
168 var query = "searchTest" + "Unique" + " file:127.0.0.1";
169 var searchConfig = new WebInspector.SearchConfig(query, true, fa lse);
170 runSearchAndDumpResults(searchConfig, step2);
171
172 function step2()
173 {
174 InspectorTest.addResult("Running a file query with non-exist ing project name now:");
175 query = "searchTest" + "Unique" + " file:128.0.0.1";
176 searchConfig = new WebInspector.SearchConfig(query, true, fa lse);
177 runSearchAndDumpResults(searchConfig, next);
178 }
179 },
164 ]); 180 ]);
165 } 181 }
166 } 182 }
167 183
168 </script> 184 </script>
169 </head> 185 </head>
170 <body onload="onload()"> 186 <body onload="onload()">
171 <iframe src="../../inspector/search/resources/search.html"> 187 <iframe src="../../inspector/search/resources/search.html">
172 <p>Tests that ScriptSearchScope performs search across all sources correctly.</p > 188 <p>Tests that ScriptSearchScope performs search across all sources correctly.</p >
173 See <a href="https://bugs.webkit.org/show_bug.cgi?id=41350">bug 41350</a>. 189 See <a href="https://bugs.webkit.org/show_bug.cgi?id=41350">bug 41350</a>.
174 </body> 190 </body>
175 </html> 191 </html>
OLDNEW
« 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