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