| OLD | NEW |
| (Empty) |
| 1 Tests form submission with method=dialog | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Clicking outer-submit-empty-string | |
| 7 PASS outer; dialog.open is false | |
| 8 PASS outer; dialog.returnValue is "" | |
| 9 PASS inner; dialog.open is true | |
| 10 PASS inner; dialog.returnValue is "init" | |
| 11 PASS host; dialog.open is true | |
| 12 PASS host; dialog.returnValue is "init" | |
| 13 | |
| 14 Clicking outer-submit-no-value | |
| 15 PASS outer; dialog.open is false | |
| 16 PASS outer; dialog.returnValue is "init" | |
| 17 PASS inner; dialog.open is true | |
| 18 PASS inner; dialog.returnValue is "init" | |
| 19 PASS host; dialog.open is true | |
| 20 PASS host; dialog.returnValue is "init" | |
| 21 | |
| 22 Clicking inner-submit-yes | |
| 23 PASS outer; dialog.open is true | |
| 24 PASS outer; dialog.returnValue is "init" | |
| 25 PASS inner; dialog.open is false | |
| 26 PASS inner; dialog.returnValue is "Yes" | |
| 27 PASS host; dialog.open is true | |
| 28 PASS host; dialog.returnValue is "init" | |
| 29 | |
| 30 Clicking inner-submit-no | |
| 31 PASS outer; dialog.open is true | |
| 32 PASS outer; dialog.returnValue is "init" | |
| 33 PASS inner; dialog.open is false | |
| 34 PASS inner; dialog.returnValue is "No" | |
| 35 PASS host; dialog.open is true | |
| 36 PASS host; dialog.returnValue is "init" | |
| 37 | |
| 38 Clicking no-dialog-ancestor-1 | |
| 39 PASS outer; dialog.open is true | |
| 40 PASS outer; dialog.returnValue is "init" | |
| 41 PASS inner; dialog.open is true | |
| 42 PASS inner; dialog.returnValue is "init" | |
| 43 PASS host; dialog.open is true | |
| 44 PASS host; dialog.returnValue is "init" | |
| 45 | |
| 46 Clicking no-dialog-ancestor-2 | |
| 47 PASS outer; dialog.open is true | |
| 48 PASS outer; dialog.returnValue is "init" | |
| 49 PASS inner; dialog.open is true | |
| 50 PASS inner; dialog.returnValue is "init" | |
| 51 PASS host; dialog.open is true | |
| 52 PASS host; dialog.returnValue is "init" | |
| 53 | |
| 54 Clicking host-submit-yes | |
| 55 PASS outer; dialog.open is true | |
| 56 PASS outer; dialog.returnValue is "init" | |
| 57 PASS inner; dialog.open is true | |
| 58 PASS inner; dialog.returnValue is "init" | |
| 59 PASS host; dialog.open is false | |
| 60 PASS host; dialog.returnValue is "Yes" | |
| 61 | |
| 62 Submitting a form without submit button (this should not crash) | |
| 63 | |
| 64 Clicking a button in a closed dialog | |
| 65 PASS dialog.open is false | |
| 66 PASS dialog.returnValue is "init" | |
| 67 | |
| 68 Activating an image button by click() | |
| 69 PASS outer; dialog.open is true | |
| 70 PASS outer; dialog.returnValue is "init" | |
| 71 PASS inner; dialog.open is false | |
| 72 PASS inner; dialog.returnValue is "0,0" | |
| 73 PASS host; dialog.open is true | |
| 74 PASS host; dialog.returnValue is "init" | |
| 75 | |
| 76 Activating an image button by keyboard | |
| 77 PASS outer; dialog.open is true | |
| 78 PASS outer; dialog.returnValue is "init" | |
| 79 PASS inner; dialog.open is false | |
| 80 PASS inner; dialog.returnValue is "0,0" | |
| 81 PASS host; dialog.open is true | |
| 82 PASS host; dialog.returnValue is "init" | |
| 83 | |
| 84 Clicking an image button | |
| 85 PASS outer; dialog.open is true | |
| 86 PASS outer; dialog.returnValue is "init" | |
| 87 PASS inner; dialog.open is false | |
| 88 PASS inner; dialog.returnValue is "10,5" | |
| 89 PASS host; dialog.open is true | |
| 90 PASS host; dialog.returnValue is "init" | |
| 91 PASS successfullyParsed is true | |
| 92 | |
| 93 TEST COMPLETE | |
| 94 | |
| 95 | |
| 96 | |
| 97 | |
| OLD | NEW |