summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/inspector/elements/dom-search-crash.html
blob: 70458b4a259b9e5bef5ac7416679d966d88782e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script>
function test()
{
    InspectorTest.runTestSuite([
        function testSetUp(next)
        {
            InspectorTest.domModel.requestDocument(next);
        },

        function testNoCrash(next)
        {
            InspectorTest.domModel.performSearch("FooBar", false, next);
        }
    ]);
}
</script>
</head>

<body>
<p>
Tests that elements panel search is not crashing on documentElement-less cases.
</p>
<iframe src="resources/dom-search-crash-iframe.html" onload="runTest()"></iframe>
</body>
</html>