4 https://bugzilla.mozilla.org/show_bug.cgi?id=
7 <title>Test for Bug
</title>
8 <script type=
"application/javascript" src=
"/MochiKit/packed.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"/>
12 <body onload=
"nextTest()">
13 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=">Mozilla Bug
</a>
15 <div id=
"content" style=
"display: none">
19 <script type=
"application/javascript">
24 [
"file_bug462076_1.html", // Dynamic frames before onload
25 "file_bug462076_2.html", // Dynamic frames when handling onload
26 "file_bug462076_3.html", // Dynamic frames after onload
27 "file_bug508537_1.html", // Dynamic frames and forward-back
28 "file_document_write_1.html", // Session history + document.write
29 "file_static_and_dynamic_1.html",// Static and dynamic frames and forward-back
30 "file_bug534178.html" // Session history transaction clean-up.
32 var testCount =
0; // Used by the test files.
34 SimpleTest.waitForExplicitFinish();
37 function nextTest_() {
38 if (testFiles.length) {
40 testWindow = window.open(testFiles.shift(),
"",
"width=300,height=300");
41 testWindow.onunload = function () { } //XXX
47 // Needed by file_document_write_1.html
48 function isTestDynamic() {
49 var dyn = testWindow.document.getElementById(
"dynamic");
50 is(dyn, null,
"Should have gone back to the static page!");
56 setTimeout(nextTest_,
1000);