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