7 if (window
.testRunner
) {
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
12 window
.onpageshow = function(evt
) {
13 // Location changes need to happen outside the onload handler to generate history entries.
14 setTimeout(function() {window
.location
.href
= 'resources/unschedule-relayout-after-unload-target.html';}, 0);
17 window
.onpagehide = function(evt
) {
18 document
.getElementById('log').innerHTML
+= 'onpagehide';