<!-- webkit-test-runner [ UsesBackForwardCache=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>
