<!-- webkit-test-runner [ UsesBackForwardCache=true ] -->
<!DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test-pre.js"></script>
<script>
description("Tests that a page that has a window opener goes into the page cache.");
window.jsTestIsAsync = true;

window.addEventListener("load", function() {
    newWindow = open("resources/page-cache-window-with-opener.html", "one");
    otherWindowDocument = newWindow.document;
}, false);
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>
