4 https://bugzilla.mozilla.org/show_bug.cgi?id=404548
7 <title>Test for Bug
404548</title>
8 <script type=
"text/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=404548">Mozilla Bug
404548</a>
15 <div id=
"content" style=
"display: none">
19 <script class=
"testbody" type=
"text/javascript">
21 /** Test for Bug
404548 **/
22 var firstRemoved = false;
23 var secondHidden = false;
25 SimpleTest.waitForExplicitFinish();
27 var w = window.open(
"bug404548-subframe.html",
"",
"width=10,height=10");
29 function finishTest() {
30 is(firstRemoved, true,
"Should have removed iframe from the DOM")
31 is(secondHidden, true,
"Should have fired pagehide on second kid");