OLD | NEW |
1 Ensure that collapse with null clears selection | 1 Ensure that collapse or setPosition with null throws an exception |
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 selection.rangeCount is 1 | 6 PASS selection.rangeCount is 1 |
7 PASS selection.rangeCount is 0 | 7 PASS selection.collapse(null) threw exception TypeError: Failed to execute 'coll
apse' on 'Selection': parameter 1 is not of type 'Node'.. |
8 PASS selection.rangeCount is 1 | 8 PASS selection.rangeCount is 1 |
9 PASS selection.rangeCount is 0 | 9 PASS selection.setPosition(null) threw exception TypeError: Failed to execute 's
etPosition' on 'Selection': parameter 1 is not of type 'Node'.. |
| 10 PASS selection.rangeCount is 1 |
10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
11 | 12 |
12 TEST COMPLETE | 13 TEST COMPLETE |
13 hello | 14 hello |
OLD | NEW |