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