blob: 369a11aaf8c58b29b9b78b3a1fe13c86b848ceea [file] [log] [blame]
<!-- webkit-test-runner [ UsesBackForwardCache=true ] -->
<html>
<script>
window.finish = function()
{
if (testRunner)
testRunner.notifyDone();
}
window.log = function(message) {
document.getElementById("result").innerHTML += message + "<br>";
}
window.failure = function(message) {
log("FAIL: " + message);
finish();
}
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
log("open page-1");
window.open("resources/cached-page-1.html");
}
</script>
<body onload="test()">
If WebKit does not assert or crash, you passed.
<div id="result"></div>
</body>
</html>