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 |
| 7 |
| 8 TEST COMPLETE |
6 PASS btn.type = 'submit'; btn.type is 'submit' | 9 PASS btn.type = 'submit'; btn.type is 'submit' |
7 PASS btn.getAttribute('type') is 'submit' | 10 PASS btn.getAttribute('type') is 'submit' |
8 PASS btn.type = 'reset'; btn.type is 'reset' | 11 PASS btn.type = 'reset'; btn.type is 'reset' |
9 PASS btn.getAttribute('type') is 'reset' | 12 PASS btn.getAttribute('type') is 'reset' |
10 PASS btn.type = 'button'; btn.type is 'button' | 13 PASS btn.type = 'button'; btn.type is 'button' |
11 PASS btn.getAttribute('type') is 'button' | 14 PASS btn.getAttribute('type') is 'button' |
12 PASS btn.type = 'reset'; btn.type is 'reset' | 15 PASS btn.type = 'reset'; btn.type is 'reset' |
13 PASS btn.getAttribute('type') is 'reset' | 16 PASS btn.getAttribute('type') is 'reset' |
14 PASS btn.type = 'suBmiT'; btn.type is 'submit' | 17 PASS btn.type = 'suBmiT'; btn.type is 'submit' |
15 PASS btn.getAttribute('type') is 'suBmiT' | 18 PASS btn.getAttribute('type') is 'suBmiT' |
(...skipping 17 matching lines...) Expand all Loading... |
33 PASS btn.getAttribute('type') is 'null' | 36 PASS btn.getAttribute('type') is 'null' |
34 PASS btn.type = undefined; btn.type is 'submit' | 37 PASS btn.type = undefined; btn.type is 'submit' |
35 PASS btn.getAttribute('type') is 'undefined' | 38 PASS btn.getAttribute('type') is 'undefined' |
36 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 '' |
37 PASS didSubmit is false | 40 PASS didSubmit is false |
38 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' |
39 PASS btn.type = 'submit'; btn.click(); didSubmit is true | 42 PASS btn.type = 'submit'; btn.click(); didSubmit is true |
40 PASS successfullyParsed is true | 43 PASS successfullyParsed is true |
41 | 44 |
42 TEST COMPLETE | 45 TEST COMPLETE |
43 PASS successfullyParsed is true | |
44 | |
45 TEST COMPLETE | |
46 | 46 |
OLD | NEW |