OLD | NEW |
1 Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no se
lection is made. | 1 Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no se
lection is made. |
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 sel.collapseToStart() threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. | 6 PASS sel.collapseToStart() threw exception InvalidStateError: Failed to execute
'collapseToStart' on 'Selection': there is no selection.. |
7 PASS sel.collapseToEnd() threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. | 7 PASS sel.collapseToEnd() threw exception InvalidStateError: Failed to execute 'c
ollapseToEnd' on 'Selection': there is no selection.. |
8 PASS sel.collapseToStart() is undefined | 8 PASS sel.collapseToStart() is undefined |
9 PASS sel.collapseToEnd() is undefined | 9 PASS sel.collapseToEnd() is undefined |
10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
11 | 11 |
12 TEST COMPLETE | 12 TEST COMPLETE |
13 | 13 |
OLD | NEW |