blob: 307474198c3ff2c17d9ae895d7e25315e33905e8 [file] [log] [blame]
Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no selection is made.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS sel.collapseToStart() threw exception InvalidStateError: The object is in an invalid state..
PASS sel.collapseToEnd() threw exception InvalidStateError: The object is in an invalid state..
PASS sel.collapseToStart() is undefined
PASS sel.collapseToEnd() is undefined
PASS successfullyParsed is true
TEST COMPLETE