| var theFrame = document.getElementById('lbIframe'); |
| document.body.removeChild(theFrame); |
| var objIframe = document.createElement("iframe"); |
| objIframe.setAttribute('id','lbIframe'); |
| document.body.appendChild(objIframe); |
| <body onload="loaded();"> |
| This is a test for 5823684. If onload handlers aggressively remove and create new iframes in a particular way, we would crash because the frames hadn't been installed into the frame tree correctly before the frame tree was being manipulated.<br> |
| If you do not crash, you have passed this test.<br> |
| <iframe src="resources/frame-creation-removal-iframe.html"></iframe> |