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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/sources-search-scope-in-files.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 11 matching lines...) Expand all
22 .catch(onResourceError); 22 .catch(onResourceError);
23 23
24 function onResourceError(error) 24 function onResourceError(error)
25 { 25 {
26 InspectorTest.addResult("ERROR while loading resources: " + error.messag e); 26 InspectorTest.addResult("ERROR while loading resources: " + error.messag e);
27 InspectorTest.completeTest(); 27 InspectorTest.completeTest();
28 } 28 }
29 29
30 function onAllResourcesLoaded() 30 function onAllResourcesLoaded()
31 { 31 {
32 WebInspector.inspectorView.showViewInDrawer("sources.search"); 32 WebInspector.viewManager.showView("sources.search");
33 fs.reportCreated(fileSystemCreated); 33 fs.reportCreated(fileSystemCreated);
34 34
35 function fileSystemCreated() 35 function fileSystemCreated()
36 { 36 {
37 InspectorTest.addResult("Total uiSourceCodes: " + WebInspector.works pace.uiSourceCodes().length); 37 InspectorTest.addResult("Total uiSourceCodes: " + WebInspector.works pace.uiSourceCodes().length);
38 InspectorTest.runTestSuite(testSuite); 38 InspectorTest.runTestSuite(testSuite);
39 } 39 }
40 } 40 }
41 41
42 function populateFileSystem(name) 42 function populateFileSystem(name)
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 ]; 195 ];
196 } 196 }
197 197
198 </script> 198 </script>
199 </head> 199 </head>
200 <body onload="runTest()"> 200 <body onload="runTest()">
201 <p>Tests that ScriptSearchScope performs search across all sources correctly.</p > 201 <p>Tests that ScriptSearchScope performs search across all sources correctly.</p >
202 See <a href="https://bugs.webkit.org/show_bug.cgi?id=41350">bug 41350</a>. 202 See <a href="https://bugs.webkit.org/show_bug.cgi?id=41350">bug 41350</a>.
203 </body> 203 </body>
204 </html> 204 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698