5 window
.opener
.log("PASS.");
6 window
.opener
.finish();
10 if (window
.opener
.canExit2
) {
15 window
.opener
.log("page-1, about to navigate to page-2.")
16 // Location changes need to happen outside the onload handler to generate history entries.
17 setTimeout(function() {location
.href
= "cached-page-2.html";}, 0);
20 // This unload handler exists just to make sure this page is not added
23 window
.opener
.log("page-1 running unload handler");
27 <body onload=
"loadNext()" onunload=
"myUnload()">