| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Change inspected iframe's "src" attribute.</title> | 3 <title>Change inspected iframe's "src" attribute.</title> |
| 4 <script src="../../inspector/inspector-test.js"></script> | 4 <script src="../../inspector/inspector-test.js"></script> |
| 5 <script src="../../inspector/resources-test.js"></script> | 5 <script src="../../inspector/resources-test.js"></script> |
| 6 <script src="../../inspector/network-test.js"></script> | 6 <script src="../../inspector/network-test.js"></script> |
| 7 <script src="../../inspector/debugger-test.js"></script> | 7 <script src="../../inspector/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() |
| 11 { | 11 { |
| 12 WebInspector.inspectorView.showViewInDrawer("sources.search"); | 12 WebInspector.viewManager.showView("sources.search"); |
| 13 var scope = new WebInspector.SourcesSearchScope(); | 13 var scope = new WebInspector.SourcesSearchScope(); |
| 14 InspectorTest.runAfterResourcesAreFinished(["search.html", "search.js", "sea
rch.css"], step2) | 14 InspectorTest.runAfterResourcesAreFinished(["search.html", "search.js", "sea
rch.css"], step2) |
| 15 | 15 |
| 16 function step2() | 16 function step2() |
| 17 { | 17 { |
| 18 InspectorTest.runTestSuite([ | 18 InspectorTest.runTestSuite([ |
| 19 function testIgnoreCase(next) | 19 function testIgnoreCase(next) |
| 20 { | 20 { |
| 21 var query = "searchTest" + "UniqueString"; | 21 var query = "searchTest" + "UniqueString"; |
| 22 var searchConfig = new WebInspector.SearchConfig(query, true, fa
lse); | 22 var searchConfig = new WebInspector.SearchConfig(query, true, fa
lse); |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 } | 140 } |
| 141 | 141 |
| 142 </script> | 142 </script> |
| 143 </head> | 143 </head> |
| 144 <body onload="runTest()"> | 144 <body onload="runTest()"> |
| 145 <iframe src="../../inspector/search/resources/search.html"> | 145 <iframe src="../../inspector/search/resources/search.html"> |
| 146 <p>Tests that ScriptSearchScope performs search across all sources correctly.</p
> | 146 <p>Tests that ScriptSearchScope performs search across all sources correctly.</p
> |
| 147 See <a href="https://bugs.webkit.org/show_bug.cgi?id=41350">bug 41350</a>. | 147 See <a href="https://bugs.webkit.org/show_bug.cgi?id=41350">bug 41350</a>. |
| 148 </body> | 148 </body> |
| 149 </html> | 149 </html> |
| OLD | NEW |