1 Test that collapseToStart() and collapseToEnd() throw INVALID_STATE_ERR if no selection is made. 2 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 5 6 PASS sel.collapseToStart() threw exception Error: INVALID_STATE_ERR: DOM Exception 11. 7 PASS sel.collapseToEnd() threw exception Error: INVALID_STATE_ERR: DOM Exception 11. 8 PASS sel.collapseToStart() is undefined 9 PASS sel.collapseToEnd() is undefined 10 PASS successfullyParsed is true 11 12 TEST COMPLETE 13 14