| OLD | NEW |
| 1 Tests for bug 14439. Button type should be set using el.type. | 1 Tests for bug 14439. Button type should be set using el.type. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS successfullyParsed is true | 6 PASS successfullyParsed is true |
| 7 | 7 |
| 8 TEST COMPLETE | 8 TEST COMPLETE |
| 9 PASS btn.type = 'submit'; btn.type is 'submit' | 9 PASS btn.type = 'submit'; btn.type is 'submit' |
| 10 PASS btn.getAttribute('type') is 'submit' | 10 PASS btn.getAttribute('type') is 'submit' |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 PASS btn.getAttribute('type') is '' | 26 PASS btn.getAttribute('type') is '' |
| 27 PASS btn.type = '/'; btn.type is 'submit' | 27 PASS btn.type = '/'; btn.type is 'submit' |
| 28 PASS btn.getAttribute('type') is '/' | 28 PASS btn.getAttribute('type') is '/' |
| 29 PASS btn.type = ' '; btn.type is 'submit' | 29 PASS btn.type = ' '; btn.type is 'submit' |
| 30 PASS btn.getAttribute('type') is ' ' | 30 PASS btn.getAttribute('type') is ' ' |
| 31 PASS btn.type = 'button '; btn.type is 'submit' | 31 PASS btn.type = 'button '; btn.type is 'submit' |
| 32 PASS btn.getAttribute('type') is 'button ' | 32 PASS btn.getAttribute('type') is 'button ' |
| 33 PASS btn.type = ' b u t t o n '; btn.type is 'submit' | 33 PASS btn.type = ' b u t t o n '; btn.type is 'submit' |
| 34 PASS btn.getAttribute('type') is ' b u t t o n ' | 34 PASS btn.getAttribute('type') is ' b u t t o n ' |
| 35 PASS btn.type = null; btn.type is 'submit' | 35 PASS btn.type = null; btn.type is 'submit' |
| 36 PASS btn.getAttribute('type') is null | 36 PASS btn.getAttribute('type') is 'null' |
| 37 PASS btn.type = undefined; btn.type is 'submit' | 37 PASS btn.type = undefined; btn.type is 'submit' |
| 38 PASS btn.getAttribute('type') is 'undefined' | 38 PASS btn.getAttribute('type') is 'undefined' |
| 39 PASS btn.type = 'reset'; txt.value = 'hello'; btn.click(); txt.value is '' | 39 PASS btn.type = 'reset'; txt.value = 'hello'; btn.click(); txt.value is '' |
| 40 PASS didSubmit is false | 40 PASS didSubmit is false |
| 41 PASS btn.type = 'button'; txt.value = 'hello'; btn.click(); txt.value is 'hello' | 41 PASS btn.type = 'button'; txt.value = 'hello'; btn.click(); txt.value is 'hello' |
| 42 PASS btn.type = 'submit'; btn.click(); didSubmit is true | 42 PASS btn.type = 'submit'; btn.click(); didSubmit is true |
| 43 PASS successfullyParsed is true | 43 PASS successfullyParsed is true |
| 44 | 44 |
| 45 TEST COMPLETE | 45 TEST COMPLETE |
| 46 | 46 |
| OLD | NEW |