3 var frameIsLoaded
= false;
4 var testIsStarted
= false;
8 if (window
.testRunner
) {
9 testRunner
.dumpAsText();
10 testRunner
.waitUntilDone();
18 function frameLoaded()
25 if (document
.getElementById('frame').contentWindow
.location
!= "about:blank") {
26 document
.getElementById("message").firstChild
.data
= "FAILED: Subframe had the wrong location";
30 document
.getElementById("message").firstChild
.data
= "PASSED: If we successfully got here without an assertion or crash, all is well.";
32 if (window
.testRunner
)
33 testRunner
.notifyDone();
37 <body onload=
"startTest()">
38 <p id=
"message">TEST DID NOT RUN YET
</p>
39 <iframe src=
"resources/submit-form-while-parsing-subframe.html" id=
"frame" onload=
"frameLoaded()"></iframe>