2 Test that a plug-in that causes its Widget to be destroyed during setWindow does not cause a crash.
4 <embed id="plug-in" type="application/x-webkit-test-netscape" onSetWindow="handleSetWindow()">
6 var plugIn = document.getElementById("plug-in");
9 if (window.layoutTestController)
10 layoutTestController.dumpAsText();
12 function handleSetWindow()
17 plugIn.style.width = "500px";
19 plugIn.parentNode.removeChild(plugIn);