Mozilla/mozilla/docshell/test/bug404548-subframe.html
bzbarsky%mit.edu a7c3a454b1 Fix bug 404548. r+sr=jst, a=schrep
git-svn-id: svn://10.0.0.236/trunk@239791 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 19:59:42 +00:00

8 lines
488 B
HTML

<!DOCTYPE html>
<html>
<body onload="setTimeout(function() { window.location = &quot;data:text/html,<body onload='window.opener.finishTest()'>&quot; }, 10)">
<iframe src="data:text/html,<body onpagehide='var p = window.parent.opener; var e = window.frameElement; e.parentNode.removeChild(e); if (e.parentNode == null && e.contentWindow == null) { p.firstRemoved = true; }' ">
</iframe>
<iframe src="data:text/html,<body onpagehide='window.parent.opener.secondHidden = true;'">>
</iframe>