Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / submit-form-while-parsing-2.html
blob9ed3e26cbf1238cbb8d83b39e394f29cb42262c1
1 <script>
3 var frameIsLoaded = false;
4 var testIsStarted = false;
6 function startTest()
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.waitUntilDone();
13 testIsStarted = true;
14 if (frameIsLoaded)
15 frameLoaded();
18 function frameLoaded()
20 if (!testIsStarted) {
21 frameIsLoaded = true;
22 return;
25 if (document.getElementById('frame').contentWindow.location != "about:blank") {
26 document.getElementById("message").firstChild.data = "FAILED: Subframe had the wrong location";
27 return;
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();
36 </script>
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>
40 </body>