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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/search-in-resource.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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="../resources-test.js"></script> 4 <script src="../resources-test.js"></script>
5 <script src="search-test.js"></script> 5 <script src="search-test.js"></script>
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 InspectorTest.runAfterResourcesAreFinished(["search.js"], step2); 9 InspectorTest.runAfterResourcesAreFinished(["search.js"], step2);
10 var resource; 10 var resource;
11 11
12 function step2() 12 function step2()
13 { 13 {
14 resource = WebInspector.resourceForURL("http://127.0.0.1:8000/inspector/ search/resources/search.js"); 14 resource = Bindings.resourceForURL("http://127.0.0.1:8000/inspector/sear ch/resources/search.js");
15 InspectorTest.addResult(resource.url); 15 InspectorTest.addResult(resource.url);
16 16
17 // This file should not match search query. 17 // This file should not match search query.
18 var text = "searchTest" + "UniqueString"; 18 var text = "searchTest" + "UniqueString";
19 resource.searchInContent(text, false, false, step3); 19 resource.searchInContent(text, false, false, step3);
20 } 20 }
21 21
22 function step3(searchMatches) 22 function step3(searchMatches)
23 { 23 {
24 InspectorTest.dumpSearchMatches(searchMatches); 24 InspectorTest.dumpSearchMatches(searchMatches);
(...skipping 28 matching lines...) Expand all
53 } 53 }
54 </script> 54 </script>
55 </head> 55 </head>
56 <body> 56 <body>
57 <p>Tests single resource search in inspector page agent.</p> 57 <p>Tests single resource search in inspector page agent.</p>
58 <a href="https://bugs.webkit.org/show_bug.cgi?id=68998">Bug 68998</a> 58 <a href="https://bugs.webkit.org/show_bug.cgi?id=68998">Bug 68998</a>
59 59
60 <iframe src="resources/search.html" onload="runTest()"> 60 <iframe src="resources/search.html" onload="runTest()">
61 </body> 61 </body>
62 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698