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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-search-across-all-files.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 <script src="../inspector-test.js"></script> 3 <script src="../inspector-test.js"></script>
4 <script src="../debugger-test.js"></script> 4 <script src="../debugger-test.js"></script>
5 <script src="../search/search-test.js"></script> 5 <script src="../search/search-test.js"></script>
6 <script src="../isolated-filesystem-test.js"></script> 6 <script src="../isolated-filesystem-test.js"></script>
7 <script src="./persistence-test.js"></script> 7 <script src="./persistence-test.js"></script>
8 <script src="./resources/foo.js"></script> 8 <script src="./resources/foo.js"></script>
9 <script> 9 <script>
10 10
(...skipping 20 matching lines...) Expand all
31 Workspace.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http: //127.0.0.1:8000", "/"); 31 Workspace.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http: //127.0.0.1:8000", "/");
32 InspectorTest.waitForBinding("foo.js").then(next); 32 InspectorTest.waitForBinding("foo.js").then(next);
33 }, 33 },
34 34
35 dumpSearchResults, 35 dumpSearchResults,
36 ]); 36 ]);
37 37
38 function dumpSearchResults(next) 38 function dumpSearchResults(next)
39 { 39 {
40 var searchConfig = new Workspace.SearchConfig("window.foo f:foo", true, false); 40 var searchConfig = new Workspace.SearchConfig("window.foo f:foo", true, false);
41 InspectorTest.runSearchAndDumpResults(scope, searchConfig, true, next); 41 InspectorTest.runSearchAndDumpResults(scope, searchConfig, next);
42 } 42 }
43 43
44 InspectorFrontendHost.searchInPath = function(requestId, path, query) 44 InspectorFrontendHost.searchInPath = function(requestId, path, query)
45 { 45 {
46 setTimeout(reply); 46 setTimeout(reply);
47 47
48 function reply() 48 function reply()
49 { 49 {
50 var paths = ["/var/www" + fsEntry.fullPath]; 50 var paths = ["/var/www" + fsEntry.fullPath];
51 Workspace.isolatedFileSystemManager._onSearchCompleted({data: {reque stId: requestId, fileSystemPath: path, files: paths}}); 51 Workspace.isolatedFileSystemManager._onSearchCompleted({data: {reque stId: requestId, fileSystemPath: path, files: paths}});
52 } 52 }
53 } 53 }
54 }; 54 };
55 </script> 55 </script>
56 </head> 56 </head>
57 <body onload="runTest()"> 57 <body onload="runTest()">
58 <p>Verify that search across all files omits filesystem uiSourceCodes with bindi ng to network.</p> 58 <p>Verify that search across all files omits filesystem uiSourceCodes with bindi ng to network.</p>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698