blob: fd8578aff6ca541c15d4b2c06d48c949dcf837b4 [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.testRunner)
testRunner.dumpAsText();
document.body.offsetTop;
location.href = "data:text/html,Test for rdar://problem/6937089 PASSED.";
</script>