| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 function test() | 5 function test() |
| 6 { | 6 { |
| 7 InspectorTest.runTestSuite([ | 7 InspectorTest.runTestSuite([ |
| 8 function testSetUp(next) | 8 function testSetUp(next) |
| 9 { | 9 { |
| 10 WebInspector.domModel.requestDocument(next); | 10 InspectorTest.domModel.requestDocument(next); |
| 11 }, | 11 }, |
| 12 | 12 |
| 13 function testNoCrash(next) | 13 function testNoCrash(next) |
| 14 { | 14 { |
| 15 WebInspector.domModel.performSearch("FooBar", false, next); | 15 InspectorTest.domModel.performSearch("FooBar", false, next); |
| 16 } | 16 } |
| 17 ]); | 17 ]); |
| 18 } | 18 } |
| 19 </script> | 19 </script> |
| 20 </head> | 20 </head> |
| 21 | 21 |
| 22 <body> | 22 <body> |
| 23 <p> | 23 <p> |
| 24 Tests that elements panel search is not crashing on documentElement-less cases. | 24 Tests that elements panel search is not crashing on documentElement-less cases. |
| 25 </p> | 25 </p> |
| 26 <iframe src="resources/dom-search-crash-iframe.html" onload="runTest()"></iframe
> | 26 <iframe src="resources/dom-search-crash-iframe.html" onload="runTest()"></iframe
> |
| 27 </body> | 27 </body> |
| 28 </html> | 28 </html> |
| OLD | NEW |