3 if (window
.testRunner
) {
4 testRunner
.dumpBackForwardList();
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
9 function childLoaded() {
10 if (window
.sessionStorage
.getItem("dynamic-iframe") != null) {
11 setTimeout(function() {
12 location
.assign("resources/go-back.html");
15 setTimeout(function() {
16 if (window
.testRunner
)
17 testRunner
.notifyDone();
22 var i
= document
.createElement("iframe");
23 i
.src
= "javascript:false";
24 document
.body
.appendChild(i
);
26 if (window
.sessionStorage
.getItem("dynamic-iframe") == null) {
27 window
.sessionStorage
.setItem("dynamic-iframe", true);
28 i
.src
= "resources/back-to-dynamic-iframe-iframe.html#FAIL";
30 window
.sessionStorage
.removeItem("dynamic-iframe");
31 i
.src
= "resources/back-to-dynamic-iframe-iframe.html#PASS";