Upstream version 9.38.198.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.inspectorView.showPanel("elements");
11             WebInspector.domModel.requestDocument(next);
12         },
13
14         function testNoCrash(next)
15         {
16             WebInspector.domModel.performSearch("FooBar", false, next);
17         }
18     ]);
19 }
20 </script>
21 </head>
22
23 <body>
24 <p>
25 Tests that elements panel search is not crashing on documentElement-less cases.
26 </p>
27 <iframe src="resources/dom-search-crash-iframe.html" onload="runTest()"></iframe>
28 </body>
29 </html>