2 <title>Properties of a navigated window shouldn't crash
</title>
4 <p>Accessing properties of a navigated window shouldn't crash
</p>
7 if (window
.testRunner
) {
8 testRunner
.waitUntilDone();
9 testRunner
.dumpAsText();
14 function testPhase1() {
15 var subframe
= document
.getElementById("subframe");
16 func
= subframe
.contentWindow
.testFunction
;
17 subframe
.src
= "resources/navigated-window-prop-subframe2.html";
20 function testPhase2() {
22 if (window
.testRunner
)
23 testRunner
.notifyDone();
26 <iframe id=
"subframe" src=
"resources/navigated-window-prop-subframe1.html"></iframe>