OLD | NEW |
1 CONSOLE ERROR: The given range is null. | 1 CONSOLE ERROR: The given range is null. |
2 CONSOLE ERROR: The given range has no container. Perhaps 'detach()' has been inv
oked on it? | 2 CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM4 (http://dom.spec.wha
twg.org/#dom-range-detach). |
| 3 CONSOLE ERROR: Discontiguous selection is not supported. |
3 CONSOLE ERROR: The given range does not belong to the current selection's docume
nt. | 4 CONSOLE ERROR: The given range does not belong to the current selection's docume
nt. |
4 CONSOLE ERROR: The given range and the current selection belong to two different
document fragments. | 5 CONSOLE ERROR: The given range and the current selection belong to two different
document fragments. |
5 Test error handling of Selection.addRange(). | 6 Test error handling of Selection.addRange(). |
6 | 7 |
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
8 | 9 |
9 | 10 |
10 Running: testNull | 11 Running: testNull |
11 PASS selection.rangeCount is 1 | 12 PASS selection.rangeCount is 1 |
12 PASS selection.getRangeAt(0).startContainer === document.body is true | 13 PASS selection.getRangeAt(0).startContainer === document.body is true |
(...skipping 15 matching lines...) Expand all Loading... |
28 Running: testOtherDocumentFragments | 29 Running: testOtherDocumentFragments |
29 PASS selection.rangeCount is 1 | 30 PASS selection.rangeCount is 1 |
30 PASS selection.getRangeAt(0).startContainer === document.body is true | 31 PASS selection.getRangeAt(0).startContainer === document.body is true |
31 PASS selection.getRangeAt(0).startOffset is 0 | 32 PASS selection.getRangeAt(0).startOffset is 0 |
32 PASS selection.getRangeAt(0).endContainer === document.body is true | 33 PASS selection.getRangeAt(0).endContainer === document.body is true |
33 PASS selection.getRangeAt(0).endOffset is 0 | 34 PASS selection.getRangeAt(0).endOffset is 0 |
34 PASS successfullyParsed is true | 35 PASS successfullyParsed is true |
35 | 36 |
36 TEST COMPLETE | 37 TEST COMPLETE |
37 | 38 |
OLD | NEW |