summaryrefslogtreecommitdiff
path: root/docshell/test/bug404548-subframe.html
blob: 0afd17544da5b58951f66c6886c5ce2572c0b4c9 (plain)
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>