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

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

Issue 2205123003: DevTools: introduce view locations, allow opening views by id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 4 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
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="../workspace-test.js"></script> 6 <script src="../workspace-test.js"></script>
7 <script src="../debugger-test.js"></script> 7 <script src="../debugger-test.js"></script>
8 <script src="./search-test.js"></script> 8 <script src="./search-test.js"></script>
9 <script> 9 <script>
10 function test() 10 function test()
(...skipping 21 matching lines...) Expand all
32 32
33 function onAllResourcesLoaded() 33 function onAllResourcesLoaded()
34 { 34 {
35 for (var resourceName in resources) 35 for (var resourceName in resources)
36 fs.root.addFile(resourceName, resources[resourceName]); 36 fs.root.addFile(resourceName, resources[resourceName]);
37 fs.reportCreated(fileSystemCreated); 37 fs.reportCreated(fileSystemCreated);
38 } 38 }
39 39
40 function fileSystemCreated() 40 function fileSystemCreated()
41 { 41 {
42 WebInspector.inspectorView.showViewInDrawer("sources.search"); 42 WebInspector.viewManager.showView("sources.search");
43 43
44 var uiSourceCodes = InspectorTest.fileSystemUISourceCodes(); 44 var uiSourceCodes = InspectorTest.fileSystemUISourceCodes();
45 for (var i = 0; i < uiSourceCodes.length; ++i) { 45 for (var i = 0; i < uiSourceCodes.length; ++i) {
46 if (uiSourceCodes[i].name() === "search.js") { 46 if (uiSourceCodes[i].name() === "search.js") {
47 jsFileSystemUISourceCode = uiSourceCodes[i]; 47 jsFileSystemUISourceCode = uiSourceCodes[i];
48 break; 48 break;
49 } 49 }
50 } 50 }
51 51
52 addNetworkUISourceCode("http://localhost/search.html", resources["search .html"]); 52 addNetworkUISourceCode("http://localhost/search.html", resources["search .html"]);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 103 }
104 ]; 104 ];
105 } 105 }
106 106
107 </script> 107 </script>
108 </head> 108 </head>
109 <body onload="runTest()"> 109 <body onload="runTest()">
110 <p>Tests that ScriptSearchScope sorts network and dirty results correctly.</p> 110 <p>Tests that ScriptSearchScope sorts network and dirty results correctly.</p>
111 </body> 111 </body>
112 </html> 112 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698