Backed out 2 changesets (
bug 1496082) for mochitest faiures in docshell/test/navigation/test_bug270414.html
Backed out changeset 776b54474da9 (
bug 1496082)
Backed out changeset 0852730f9ecd (
bug 1496082)
<html>
<head>
<script>
function test() {
try {
frames[0].history.pushState({}, "state", "?pushed");
} catch(ex) {
opener.ok(false, "history.pushState shouldn't throw");
}
if (!opener.shiftReloadPushStateFirstRound) {
opener.shiftReloadPushStateFirstRound = true;
window.location.reload(true);
} else {
opener.ok(true, "Did run history.push");
opener.nextTest();
window.close();
}
}
window.addEventListener("load", function() { setTimeout(test, 0); });
</script>
</head>
<body>
<iframe src="frame0.html"></iframe>
<script>
</script>
</body>
</html>