blob: b4c10a9b1ac5c9f0b57ec4bfdc6f899dc525e5c8 [file] [log] [blame]
<p>
Test for <i><a href="rdar://problem/6937089">rdar://problem/6937089</a> Crashes at RenderWidget::destroy()</i>.
</p>
<p>
This test should not crash or cause an assertion failure.
</p>
<div id="target">
<embed type="application/x-webkit-test-netscape" ondestroy="destroyed()">
</div>
<script>
function destroyed()
{
var target = document.getElementById("target");
target.parentNode.removeChild(target);
}
if (window.layoutTestController)
layoutTestController.dumpAsText();
document.body.offsetTop;
location.href = "data:text/html,Test for rdar://problem/6937089 PASSED.";
</script>