| OLD | NEW |
| 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-test.js"></script> | 5 <script src="./search-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 InspectorTest.waitForScriptSource("pink.jpg", doSearch); | 10 InspectorTest.waitForScriptSource("pink.jpg", doSearch); |
| 11 | 11 |
| 12 function doSearch(next) | 12 function doSearch(next) |
| 13 { | 13 { |
| 14 var scope = new Sources.SourcesSearchScope(); | 14 var scope = new Sources.SourcesSearchScope(); |
| 15 var searchConfig = new Workspace.SearchConfig("AAAAAAA", true, false); | 15 var searchConfig = new Workspace.SearchConfig("AAAAAAA", true, false); |
| 16 InspectorTest.runSearchAndDumpResults(scope, searchConfig, true, Inspect
orTest.completeTest.bind(InspectorTest)); | 16 InspectorTest.runSearchAndDumpResults(scope, searchConfig, InspectorTest
.completeTest.bind(InspectorTest)); |
| 17 } | 17 } |
| 18 }; | 18 }; |
| 19 </script> | 19 </script> |
| 20 </head> | 20 </head> |
| 21 <body onload="runTest()"> | 21 <body onload="runTest()"> |
| 22 <p>Verify that search doesn't search in binary resources.</p> | 22 <p>Verify that search doesn't search in binary resources.</p> |
| 23 <img src="./resources/pink.jpg"></img> | 23 <img src="./resources/pink.jpg"></img> |
| 24 </body> | 24 </body> |
| 25 </html> | 25 </html> |
| OLD | NEW |