4 https://bugzilla.mozilla.org/show_bug.cgi?id=123696
7 <title>Test for Bug
123696</title>
8 <script type=
"application/javascript" src=
"/MochiKit/MochiKit.js"></script>
9 <script type=
"application/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
13 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=123696">Mozilla Bug
123696</a>
15 <iframe src=
"bug123696-subframe.html"></iframe>
17 <div id=
"content" style=
"display: none">
21 <script type=
"application/javascript">
23 /** Test for Bug
123696 **/
24 SimpleTest.waitForExplicitFinish();
26 function finishTest() {
27 is(window.frames[
0].frames[
0].document.documentElement.textContent,
28 "change2",
"Reload should have reloaded correctly!");
33 window.frames[
0].frameElement.onload = finishTest;
34 window.frames[
0].location.reload();
37 addLoadEvent(function() {
38 window.frames[
0].frames[
0].frameElement.onload = doReload;
39 window.frames[
0].frames[
0].frameElement.src =
"javascript:parent.change2()";