5 var ifr
= document
.createElement("iframe");
6 ifr
.src
= "frame0.html";
7 document
.getElementById("dynamic").appendChild(ifr
);
8 var staticFrame
= document
.getElementById("staticframe");
9 staticFrame
.onload
= window
.location
= "goback.html";
10 staticFrame
.contentWindow
.location
= "frame1.html";
14 if (++opener
.testCount
== 1) {
17 var staticFrame
= document
.getElementById("staticframe");
18 opener
.ok(String(staticFrame
.contentWindow
.location
).includes(staticFrame
.src
),
19 "Wrong document loaded!");
25 <body onload=
"setTimeout('start()', 0)">
27 <div id=
"dynamic"></div>
29 <div id=
"static"><iframe id=
"staticframe" src=
"frame0.html"></iframe></div>