Source

mozilla-central / docshell / test / bug404548-subframe.html

1
2
3
4
5
6
7
<!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>