summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/plugins/attach-during-destroy.html
blob: 3e600c904ff982b4c756591af000f8e677a5e08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<p>
    Test for <i><a href="rdar://problem/7194735">rdar://problem/7194735</a> Crashes at RenderText::RenderText()</i>.
</p>
<p>
    This test should not crash or cause an assertion failure.
</p>
<embed type="application/x-webkit-test-netscape" ondestroy="destroyed()">
<div id="target"></div>
<script>
    function destroyed()
    {
        var target = document.getElementById("target");
        target.innerHTML = "text";
    }

    if (window.testRunner)
        testRunner.dumpAsText();

    document.body.offsetTop;
    location.href = "data:text/html,Test for rdar://problem/7194735 PASSED.";
</script>