зеркало из https://github.com/mozilla/gecko-dev.git
64 строки
1.8 KiB
HTML
64 строки
1.8 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=
|
|
-->
|
|
<head>
|
|
<title>Test for Bug </title>
|
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
<body onload="nextTest()">
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=">Mozilla Bug </a>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none">
|
|
|
|
</div>
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
|
|
/** Test for Bug **/
|
|
|
|
var testFiles =
|
|
[ "file_bug462076_1.html", // Dynamic frames before onload
|
|
"file_bug462076_2.html", // Dynamic frames when handling onload
|
|
"file_bug462076_3.html", // Dynamic frames after onload
|
|
"file_bug508537_1.html", // Dynamic frames and forward-back
|
|
"file_document_write_1.html", // Session history + document.write
|
|
// "file_static_and_dynamic_1.html",// Static and dynamic frames and forward-back
|
|
"file_bug534178.html", // Session history entry clean-up.
|
|
"file_fragment_handling_during_load.html",
|
|
"file_nested_frames.html",
|
|
"file_shiftReload_and_pushState.html",
|
|
"file_scrollRestoration.html",
|
|
"file_bug1300461.html",
|
|
"file_bug1326251.html",
|
|
"file_bug1379762-1.html",
|
|
];
|
|
var testCount = 0; // Used by the test files.
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
SimpleTest.requestFlakyTimeout("untriaged");
|
|
|
|
var testWindow;
|
|
function nextTest_() {
|
|
if (testFiles.length) {
|
|
testCount = 0;
|
|
let nextFile = testFiles.shift();
|
|
info("Running " + nextFile);
|
|
testWindow = window.open(nextFile, "", "width=360,height=480");
|
|
testWindow.onunload = function() { }; // to prevent bfcache
|
|
} else {
|
|
SimpleTest.finish();
|
|
}
|
|
}
|
|
|
|
function nextTest() {
|
|
setTimeout(nextTest_, 0);
|
|
}
|
|
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|