Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / form-target-iframe-location-change.html
blob8a69373fdc5c9fb636be1f14fa6fb3fd0f2d1488
1 <body>
2 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.
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.dumpChildFramesAsText();
7 testRunner.waitUntilDone();
10 var childrenDone = 0;
11 function childDone() {
12 childrenDone++;
13 if (childrenDone >= 2 && window.testRunner)
14 testRunner.notifyDone();
16 </script>
17 <iframe id="formframe" name="formframe"></iframe>
18 <iframe name="navframe" src="resources/submit-in-sibling-frame.html"></iframe>
19 </body>
20 </html>