blob: f0184f37c6ba09e30321e980f2665c2cc6522e04 [file] [log] [blame]
<!-- webkit-test-runner [ enablePageCache=true ] -->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Simulates flow from a page that\'s in the page cache to one that\'s not, and then back to the page cached page.');
onpageshow = function(event) {
if (window.history.state == 'navigated') {
testPassed('WebTiming asserts in FrameLoader.cpp did not fire');
finishJSTest();
} else
setTimeout(function() {window.history.replaceState('navigated', ''); location.href = 'data:text/html,<script>onunload=function() {},onload=function(){history.back();}<' + '/script>';}, 0);
}
var jsTestIsAsync = true;
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>