blob: 8a69373fdc5c9fb636be1f14fa6fb3fd0f2d1488 [file] [log] [blame]
<body>
Ensure that a form submission to a different frame is not cancelled if the origin frame navigates immediately thereafter. SUCCESS should appear in both iframes.
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
var childrenDone = 0;
function childDone() {
childrenDone++;
if (childrenDone >= 2 && window.testRunner)
testRunner.notifyDone();
}
</script>
<iframe id="formframe" name="formframe"></iframe>
<iframe name="navframe" src="resources/submit-in-sibling-frame.html"></iframe>
</body>
</html>