7 if (location.hash == "") {
8 if (window.layoutTestController) {
9 layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
10 layoutTestController.waitUntilDone();
13 history.pushState({ }, "", window.location + "#1");
14 setTimeout("window.location.href = 'resources/empty-document-goes-back.html'", 0);
18 setTimeout(function () {
19 if (window.layoutTestController)
20 layoutTestController.notifyDone();
26 <body style="width:800px" onpageshow="navigate();">
27 <div id="result">This test passes if the iframe lays out and paints (meaning it is purple) after the test naviagtes back.</div><br/><br/>
28 <iframe id="iframe" src="resources/simple-iframe.html"></iframe>