| OLD | NEW |
| 1 Tests for HTMLTextAreaElement.maxLength behaviors. | 1 Tests for HTMLTextAreaElement.maxLength behaviors. |
| 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 textArea.maxLength is -1 | 6 PASS textArea.maxLength is -1 |
| 7 PASS textArea.maxLength is -1 | 7 PASS textArea.maxLength is -1 |
| 8 PASS textArea.maxLength is -1 | 8 PASS textArea.maxLength is -1 |
| 9 PASS textArea.maxLength is 1 | 9 PASS textArea.maxLength is 1 |
| 10 PASS textArea.maxLength is -1 |
| 11 PASS textArea.maxLength is -1 |
| 12 PASS textArea.maxLength is 1 |
| 10 PASS textArea.maxLength is 256 | 13 PASS textArea.maxLength is 256 |
| 11 PASS textArea.getAttribute("maxlength") is "13" | 14 PASS textArea.getAttribute("maxlength") is "13" |
| 12 PASS textArea.maxLength = -1 threw exception IndexSizeError: Failed to set the '
maxLength' property on 'HTMLTextAreaElement': The value provided (-1) is not pos
itive or 0.. | 15 PASS textArea.maxLength = -1 threw exception IndexSizeError: Failed to set the '
maxLength' property on 'HTMLTextAreaElement': The value provided (-1) is not pos
itive or 0.. |
| 13 PASS textArea.getAttribute("maxlength") is "13" | 16 PASS textArea.getAttribute("maxlength") is "13" |
| 14 PASS textArea.maxLength = 10 threw exception IndexSizeError: Failed to set the '
maxLength' property on 'HTMLTextAreaElement': The maxLength provided (10) is les
s than the minimum bound (11).. | 17 PASS textArea.maxLength = 10 threw exception IndexSizeError: Failed to set the '
maxLength' property on 'HTMLTextAreaElement': The maxLength provided (10) is les
s than the minimum bound (11).. |
| 15 PASS textArea.getAttribute("maxlength") is "13" | 18 PASS textArea.getAttribute("maxlength") is "13" |
| 16 PASS textArea.maxLength = 11; textArea.getAttribute("maxlength") is "11" | 19 PASS textArea.maxLength = 11; textArea.getAttribute("maxlength") is "11" |
| 17 PASS textArea.maxLength is 0 | 20 PASS textArea.maxLength is 0 |
| 18 PASS textArea.getAttribute("maxlength") is "0" | 21 PASS textArea.getAttribute("maxlength") is "0" |
| 19 PASS textArea.value is "abcd" | 22 PASS textArea.value is "abcd" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 34 PASS textArea.value is "AB" | 37 PASS textArea.value is "AB" |
| 35 PASS textArea.value.length is 2 | 38 PASS textArea.value.length is 2 |
| 36 PASS textArea.value is "ABC" | 39 PASS textArea.value is "ABC" |
| 37 PASS textArea.value is "" | 40 PASS textArea.value is "" |
| 38 PASS textArea.value is "ABC" | 41 PASS textArea.value is "ABC" |
| 39 PASS textArea.value is "ABC" | 42 PASS textArea.value is "ABC" |
| 40 PASS successfullyParsed is true | 43 PASS successfullyParsed is true |
| 41 | 44 |
| 42 TEST COMPLETE | 45 TEST COMPLETE |
| 43 | 46 |
| OLD | NEW |