OLD | NEW |
1 <body> | 1 <body> |
2 Ensure that a form submission to a different frame is not cancelled if the origi
n frame navigates immediately thereafter. SUCCESS should appear in both iframes. | 2 Ensure that a form submission to a different frame is not cancelled if the origi
n frame navigates immediately thereafter. SUCCESS should appear in both iframes. |
3 <script> | 3 <script> |
4 if (window.testRunner) { | 4 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 testRunner.dumpChildFramesAsText(); | 6 testRunner.dumpChildFramesAsText(); |
7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
8 } | 8 } |
9 | 9 |
10 var childrenDone = 0; | 10 var childrenDone = 0; |
11 function childDone() { | 11 function childDone() { |
12 childrenDone++; | 12 childrenDone++; |
13 if (childrenDone >= 2 && window.testRunner) | 13 if (childrenDone >= 2 && window.testRunner) |
14 testRunner.notifyDone(); | 14 testRunner.notifyDone(); |
15 } | 15 } |
16 </script> | 16 </script> |
17 <iframe id="formframe" name="formframe"></iframe> | 17 <iframe id="formframe" name="formframe"></iframe> |
18 <iframe id="navframe" src="resources/submit-in-sibling-frame.html"></iframe> | 18 <iframe name="navframe" src="resources/submit-in-sibling-frame.html"></iframe> |
19 </body> | 19 </body> |
20 </html> | 20 </html> |
OLD | NEW |