| <style type="text/css" media="screen"> |
| <script type="text/javascript" charset="utf-8"> |
| testRunner.waitUntilDone(); |
| // This gets called automatically from the test plugin. |
| function setWindowCalled() |
| var victim = document.getElementById('victim'); |
| victim.parentNode.removeChild(victim); |
| document.getElementById('plugin').style.top = "120px"; |
| window.addEventListener('load', doTest, false); |
| <p>This test should not crash.</p> |
| <embed type="application/x-webkit-test-netscape" |
| onSetWindow="setWindowCalled()" |
| <embed name="victim" type="application/x-webkit-test-netscape" id="victim"> |