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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-many-projects.html

Issue 2580173002: DevTools: fix http/tests/inspector/search/sources-search-scope-many-projects.html (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Test search in sources.</title> 3 <title>Test search in sources.</title>
4 <script src="../inspector-test.js"></script> 4 <script src="../inspector-test.js"></script>
5 <script src="../isolated-filesystem-test.js"></script> 5 <script src="../isolated-filesystem-test.js"></script>
6 <script src="../debugger-test.js"></script> 6 <script src="../debugger-test.js"></script>
7 <script src="./search-test.js"></script> 7 <script src="./search-test.js"></script>
8 <script> 8 <script>
9 function test() 9 function test()
10 { 10 {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 paths.push("/var/www/" + names[i]); 90 paths.push("/var/www/" + names[i]);
91 Workspace.isolatedFileSystemManager._onSearchCompleted({data: {reque stId: requestId, fileSystemPath: path, files: paths}}); 91 Workspace.isolatedFileSystemManager._onSearchCompleted({data: {reque stId: requestId, fileSystemPath: path, files: paths}});
92 } 92 }
93 } 93 }
94 94
95 var testSuite = [ 95 var testSuite = [
96 function testSearch(next) 96 function testSearch(next)
97 { 97 {
98 var query = "searchTest" + "UniqueString"; 98 var query = "searchTest" + "UniqueString";
99 var searchConfig = new Workspace.SearchConfig(query, true, false); 99 var searchConfig = new Workspace.SearchConfig(query, true, false);
100 InspectorTest.runSearchAndDumpResults(scope, searchConfig, false, ne xt); 100 InspectorTest.runSearchAndDumpResults(scope, searchConfig, next);
101 }, 101 },
102 102
103 function testDirtyFiles(next) 103 function testDirtyFiles(next)
104 { 104 {
105 jsFileSystemUISourceCode.setWorkingCopy("FOO " + "searchTest" + "Uni queString" + " BAR"); 105 jsFileSystemUISourceCode.setWorkingCopy("FOO " + "searchTest" + "Uni queString" + " BAR");
106 jsNetworkUISourceCode.setWorkingCopy("FOO " + "searchTest" + "Unique String" + " BAR"); 106 jsNetworkUISourceCode.setWorkingCopy("FOO " + "searchTest" + "Unique String" + " BAR");
107 107
108 var query = "searchTest" + "UniqueString"; 108 var query = "searchTest" + "UniqueString";
109 var searchConfig = new Workspace.SearchConfig(query, true, false); 109 var searchConfig = new Workspace.SearchConfig(query, true, false);
110 InspectorTest.runSearchAndDumpResults(scope, searchConfig, false, ne xt); 110 InspectorTest.runSearchAndDumpResults(scope, searchConfig, next);
111 } 111 }
112 ]; 112 ];
113 } 113 }
114 114
115 </script> 115 </script>
116 </head> 116 </head>
117 <body onload="runTest()"> 117 <body onload="runTest()">
118 <p>Tests that ScriptSearchScope sorts network and dirty results correctly.</p> 118 <p>Tests that ScriptSearchScope sorts network and dirty results correctly.</p>
119 </body> 119 </body>
120 </html> 120 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698