blob: 209858188c8723f3f0e3a53cfd99a337d02f8005 [file] [log] [blame]
<!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;
if (window.testRunner) {
testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
testRunner.setCanOpenWindows();
}
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>