4 https://bugzilla.mozilla.org/show_bug.cgi?id=
7 <title>Test for Bug
462076</title>
8 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
11 <body onload=
"nextTest()">
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=462076">Mozilla Bug
462076</a>
14 <div id=
"content" style=
"display: none">
18 <script type=
"application/javascript">
20 [
"file_bug462076_1.html", // Dynamic frames before onload
21 "file_bug462076_2.html", // Dynamic frames when handling onload
22 "file_bug462076_3.html", // Dynamic frames after onload
24 var testCount =
0; // Used by the test files.
26 SimpleTest.waitForExplicitFinish();
29 function nextTest_() {
30 if (testFiles.length) {
32 let nextFile = testFiles.shift();
33 info(
"Running " + nextFile);
34 testWindow = window.open(nextFile,
"",
"width=360,height=480");
35 testWindow.onunload = function() { }; // to prevent bfcache
42 setTimeout(nextTest_,
0);