Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/selection/extend-20-expected.txt

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 944: The given range isn't in document. 1 CONSOLE ERROR: line 944: The given range isn't in document.
2 CONSOLE ERROR: line 944: The given range isn't in document. 2 CONSOLE ERROR: line 944: The given range isn't in document.
3 CONSOLE ERROR: line 944: The given range isn't in document. 3 CONSOLE ERROR: line 944: The given range isn't in document.
4 CONSOLE ERROR: line 944: The given range isn't in document. 4 CONSOLE ERROR: line 944: The given range isn't in document.
5 CONSOLE ERROR: line 944: The given range isn't in document. 5 CONSOLE ERROR: line 944: The given range isn't in document.
6 CONSOLE ERROR: line 944: The given range isn't in document. 6 CONSOLE ERROR: line 944: The given range isn't in document.
7 CONSOLE ERROR: line 944: The given range isn't in document. 7 CONSOLE ERROR: line 944: The given range isn't in document.
8 CONSOLE ERROR: line 944: The given range isn't in document. 8 CONSOLE ERROR: line 944: The given range isn't in document.
9 CONSOLE ERROR: line 944: The given range isn't in document. 9 CONSOLE ERROR: line 944: The given range isn't in document.
10 CONSOLE ERROR: line 944: The given range isn't in document. 10 CONSOLE ERROR: line 944: The given range isn't in document.
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 78 [detachedFor eignComment, 4] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 666 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 78 [detachedFor eignComment, 4] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected Comment node <!--אריה יהודה--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
667 " 667 "
668 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 79 [detachedXml Comment, 2] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected Comment node <!--בן חיים א ליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 668 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 79 [detachedXml Comment, 2] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected Comment node <!--בן חיים א ליעזר--> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
669 " 669 "
670 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a diffe rent root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 670 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a diffe rent root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
671 " 671 "
672 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 81 [foreignDocf rag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 c hildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 672 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 81 [foreignDocf rag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 c hildren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
673 " 673 "
674 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a di fferent root from the original range expected DocumentFragment node with 0 child ren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 674 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a di fferent root from the original range expected DocumentFragment node with 0 child ren but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
675 " 675 "
676 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 83 [doctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function " function () { 676 PASS extend() with range 23 [paras[0], 0, paras[0], 0] and point 83 [doctype, 0]
677 selection.extend(node, offset);
678 }" did not throw
679 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 84 [doctype, -1 7] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 677 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 84 [doctype, -1 7] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () {
680 selection.extend(node, offset); 678 selection.extend(node, offset);
681 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 679 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
682 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 85 [doctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function " function () { 680 PASS extend() with range 23 [paras[0], 0, paras[0], 0] and point 85 [doctype, 1]
683 selection.extend(node, offset); 681 PASS extend() with range 23 [paras[0], 0, paras[0], 0] and point 86 [foreignDoct ype, 0]
684 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24 682 PASS extend() with range 23 [paras[0], 0, paras[0], 0] and point 87 [xmlDoctype, 0]
685 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 86 [foreignDoct ype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError fun ction "function () {
686 selection.extend(node, offset);
687 }" did not throw
688 FAIL extend() with range 23 [paras[0], 0, paras[0], 0] and point 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError functio n "function () {
689 selection.extend(node, offset);
690 }" did not throw
691 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 0 [par as[0].firstChild, -1] 683 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 0 [par as[0].firstChild, -1]
692 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: startContainer must be corre ct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 684 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: startContainer must be corre ct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
693 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 685 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
694 " 686 "
695 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 1 [par as[0].firstChild, 0] 687 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 1 [par as[0].firstChild, 0]
696 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 688 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
697 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 689 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
698 " 690 "
699 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 2 [par as[0].firstChild, 1] assert_equals: focusOffset must be the offset passed to ext end() expected 1 but got 2 691 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 2 [par as[0].firstChild, 1] assert_equals: focusOffset must be the offset passed to ext end() expected 1 but got 2
700 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 692 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1076 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1068 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1077 " 1069 "
1078 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1070 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1079 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1071 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1080 " 1072 "
1081 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1073 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1082 " 1074 "
1083 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1075 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1084 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1076 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1085 " 1077 "
1086 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 83 [do ctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 1078 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 83 [do ctype, 0]
1087 selection.extend(node, offset);
1088 }" did not throw
1089 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1079 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1090 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1080 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1091 " 1081 "
1092 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 1082 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () {
1093 selection.extend(node, offset); 1083 selection.extend(node, offset);
1094 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 1084 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
1095 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1085 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1096 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1086 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1097 " 1087 "
1098 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 85 [do ctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 1088 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 85 [do ctype, 1]
1099 selection.extend(node, offset);
1100 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
1101 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1089 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1102 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1090 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1103 " 1091 "
1104 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 86 [fo reignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeType Error function "function () { 1092 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 86 [fo reignDoctype, 0]
1105 selection.extend(node, offset);
1106 }" did not throw
1107 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1093 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1108 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1094 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1109 " 1095 "
1110 FAIL extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 87 [xm lDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeErro r function "function () { 1096 PASS extend() forwards with range 24 [paras[0], 0, paras[0], 1] and point 87 [xm lDoctype, 0]
1111 selection.extend(node, offset);
1112 }" did not throw
1113 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 1097 FAIL extend() backwards with range 24 [paras[0], 0, paras[0], 1] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
1114 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1098 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1115 " 1099 "
1116 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: rangeCount must be correct e xpected 1 but got 0 1100 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: rangeCount must be correct e xpected 1 but got 0
1117 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0 1101 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0
1118 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0 1102 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0
1119 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 3 [pa ras[0].firstChild, 2] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0 1103 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 3 [pa ras[0].firstChild, 2] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0
1120 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 4 [pa ras[0].firstChild, 8] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0 1104 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 4 [pa ras[0].firstChild, 8] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0
1121 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 5 [pa ras[0].firstChild, 9] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0 1105 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 5 [pa ras[0].firstChild, 9] assert_equals: Sanity check: rangeCount must be correct ex pected 1 but got 0
1122 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 6 [pa ras[0].firstChild, 10] assert_equals: Sanity check: rangeCount must be correct e xpected 1 but got 0 1106 FAIL extend() with range 25 [detachedPara1, 0, detachedPara1, 0] and point 6 [pa ras[0].firstChild, 10] assert_equals: Sanity check: rangeCount must be correct e xpected 1 but got 0
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 80 [docfrag, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop 1666 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 80 [docfrag, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop
1683 " but got Element node <p id="c">Qrstuvwx</p> 1667 " but got Element node <p id="c">Qrstuvwx</p>
1684 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the nod e passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1668 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the nod e passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1685 " 1669 "
1686 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop 1670 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop
1687 " but got Element node <p id="c">Qrstuvwx</p> 1671 " but got Element node <p id="c">Qrstuvwx</p>
1688 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node pa ssed to extend() if it has a different root from the original range expected Doc umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1672 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node pa ssed to extend() if it has a different root from the original range expected Doc umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
1689 " 1673 "
1690 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop 1674 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop
1691 " but got Element node <p id="c">Qrstuvwx</p> 1675 " but got Element node <p id="c">Qrstuvwx</p>
1692 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 83 [doctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 1676 PASS extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 83 [doctype, 0]
1693 selection.extend(node, offset);
1694 }" did not throw
1695 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 83 [doctype, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop 1677 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 83 [doctype, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop
1696 " but got Element node <p id="c">Qrstuvwx</p> 1678 " but got Element node <p id="c">Qrstuvwx</p>
1697 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 84 [doctype, -17] assert_throws: extend() to a doctype must thro w InvalidNodeTypeError function "function () { 1679 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 84 [doctype, -17] assert_throws: extend() to a doctype must thro w InvalidNodeTypeError function "function () {
1698 selection.extend(node, offset); 1680 selection.extend(node, offset);
1699 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 1681 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
1700 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 84 [doctype, -17] assert_equals: Sanity check: endContainer mus t be correct expected Text node "Ijklmnop 1682 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 84 [doctype, -17] assert_equals: Sanity check: endContainer mus t be correct expected Text node "Ijklmnop
1701 " but got Element node <p id="c">Qrstuvwx</p> 1683 " but got Element node <p id="c">Qrstuvwx</p>
1702 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 85 [doctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 1684 PASS extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 85 [doctype, 1]
1703 selection.extend(node, offset);
1704 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
1705 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 85 [doctype, 1] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop 1685 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 85 [doctype, 1] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop
1706 " but got Element node <p id="c">Qrstuvwx</p> 1686 " but got Element node <p id="c">Qrstuvwx</p>
1707 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 86 [foreignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 1687 PASS extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 86 [foreignDoctype, 0]
1708 selection.extend(node, offset);
1709 }" did not throw
1710 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop 1688 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop
1711 " but got Element node <p id="c">Qrstuvwx</p> 1689 " but got Element node <p id="c">Qrstuvwx</p>
1712 FAIL extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must thr ow InvalidNodeTypeError function "function () { 1690 PASS extend() forwards with range 27 [paras[0].firstChild, 0, paras[1].firstChil d, 0] and point 87 [xmlDoctype, 0]
1713 selection.extend(node, offset);
1714 }" did not throw
1715 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop 1691 FAIL extend() backwards with range 27 [paras[0].firstChild, 0, paras[1].firstChi ld, 0] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop
1716 " but got Element node <p id="c">Qrstuvwx</p> 1692 " but got Element node <p id="c">Qrstuvwx</p>
1717 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 0 [paras[0].firstChild, -1] 1693 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 0 [paras[0].firstChild, -1]
1718 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: endCon tainer must be correct expected Text node "Ijklmnop 1694 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: endCon tainer must be correct expected Text node "Ijklmnop
1719 " but got Element node <p id="c">Qrstuvwx</p> 1695 " but got Element node <p id="c">Qrstuvwx</p>
1720 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 1 [paras[0].firstChild, 0] 1696 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 1 [paras[0].firstChild, 0]
1721 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: endCont ainer must be correct expected Text node "Ijklmnop 1697 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: endCont ainer must be correct expected Text node "Ijklmnop
1722 " but got Element node <p id="c">Qrstuvwx</p> 1698 " but got Element node <p id="c">Qrstuvwx</p>
1723 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be th e offset passed to extend() expected 1 but got 2 1699 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be th e offset passed to extend() expected 1 but got 2
1724 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 2 [paras[0].firstChild, 1] assert_equals: Sanity check: endCont ainer must be correct expected Text node "Ijklmnop 1700 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 2 [paras[0].firstChild, 1] assert_equals: Sanity check: endCont ainer must be correct expected Text node "Ijklmnop
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
2019 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 80 [docfrag, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop 1995 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 80 [docfrag, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop
2020 " but got Element node <p id="c">Qrstuvwx</p> 1996 " but got Element node <p id="c">Qrstuvwx</p>
2021 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the nod e passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 1997 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the nod e passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2022 " 1998 "
2023 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop 1999 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop
2024 " but got Element node <p id="c">Qrstuvwx</p> 2000 " but got Element node <p id="c">Qrstuvwx</p>
2025 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node pa ssed to extend() if it has a different root from the original range expected Doc umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2001 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node pa ssed to extend() if it has a different root from the original range expected Doc umentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2026 " 2002 "
2027 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop 2003 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop
2028 " but got Element node <p id="c">Qrstuvwx</p> 2004 " but got Element node <p id="c">Qrstuvwx</p>
2029 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 83 [doctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 2005 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 83 [doctype, 0]
2030 selection.extend(node, offset);
2031 }" did not throw
2032 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 83 [doctype, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop 2006 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 83 [doctype, 0] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop
2033 " but got Element node <p id="c">Qrstuvwx</p> 2007 " but got Element node <p id="c">Qrstuvwx</p>
2034 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 84 [doctype, -17] assert_throws: extend() to a doctype must thro w InvalidNodeTypeError function "function () { 2008 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 84 [doctype, -17] assert_throws: extend() to a doctype must thro w InvalidNodeTypeError function "function () {
2035 selection.extend(node, offset); 2009 selection.extend(node, offset);
2036 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 2010 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
2037 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 84 [doctype, -17] assert_equals: Sanity check: endContainer mus t be correct expected Text node "Ijklmnop 2011 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 84 [doctype, -17] assert_equals: Sanity check: endContainer mus t be correct expected Text node "Ijklmnop
2038 " but got Element node <p id="c">Qrstuvwx</p> 2012 " but got Element node <p id="c">Qrstuvwx</p>
2039 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 85 [doctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 2013 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 85 [doctype, 1]
2040 selection.extend(node, offset);
2041 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
2042 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 85 [doctype, 1] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop 2014 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 85 [doctype, 1] assert_equals: Sanity check: endContainer must be correct expected Text node "Ijklmnop
2043 " but got Element node <p id="c">Qrstuvwx</p> 2015 " but got Element node <p id="c">Qrstuvwx</p>
2044 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 86 [foreignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 2016 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 86 [foreignDoctype, 0]
2045 selection.extend(node, offset);
2046 }" did not throw
2047 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop 2017 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: endContaine r must be correct expected Text node "Ijklmnop
2048 " but got Element node <p id="c">Qrstuvwx</p> 2018 " but got Element node <p id="c">Qrstuvwx</p>
2049 FAIL extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must thr ow InvalidNodeTypeError function "function () { 2019 PASS extend() forwards with range 28 [paras[0].firstChild, 0, paras[1].firstChil d, 8] and point 87 [xmlDoctype, 0]
2050 selection.extend(node, offset);
2051 }" did not throw
2052 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop 2020 FAIL extend() backwards with range 28 [paras[0].firstChild, 0, paras[1].firstChi ld, 8] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: endContainer mu st be correct expected Text node "Ijklmnop
2053 " but got Element node <p id="c">Qrstuvwx</p> 2021 " but got Element node <p id="c">Qrstuvwx</p>
2054 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 0 [paras[0].firstChild, -1] 2022 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 0 [paras[0].firstChild, -1]
2055 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startOffset must be correct expected 3 but got 4 2023 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startOffset must be correct expected 3 but got 4
2056 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 1 [paras[0].firstChild, 0] 2024 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 1 [paras[0].firstChild, 0]
2057 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4 2025 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4
2058 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be the offset pa ssed to extend() expected 1 but got 2 2026 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be the offset pa ssed to extend() expected 1 but got 2
2059 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 2 [paras[0].firstChild, 1] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4 2027 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 2 [paras[0].firstChild, 1] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4
2060 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 3 [paras[0].firstChild, 2] 2028 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 3 [paras[0].firstChild, 2]
2061 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 3 [paras[0].firstChild, 2] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4 2029 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 3 [paras[0].firstChild, 2] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 79 [detachedXmlComment, 2] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4 2241 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 79 [detachedXmlComment, 2] assert_equals: Sanity check: startOffset must b e correct expected 3 but got 4
2274 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend () if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2242 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend () if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2275 " 2243 "
2276 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 80 [docfrag, 0] assert_equals: Sanity check: startOffset must be correct e xpected 3 but got 4 2244 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 80 [docfrag, 0] assert_equals: Sanity check: startOffset must be correct e xpected 3 but got 4
2277 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFr agment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2245 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFr agment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2278 " 2246 "
2279 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: startOffset must be co rrect expected 3 but got 4 2247 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: startOffset must be co rrect expected 3 but got 4
2280 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to ext end() if it has a different root from the original range expected DocumentFragme nt node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2248 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to ext end() if it has a different root from the original range expected DocumentFragme nt node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2281 " 2249 "
2282 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: startOffset must be correc t expected 3 but got 4 2250 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: startOffset must be correc t expected 3 but got 4
2283 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 83 [doctype, 0] assert_throws: extend() to a doctype must throw InvalidNode TypeError function "function () { 2251 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 83 [doctype, 0]
2284 selection.extend(node, offset);
2285 }" did not throw
2286 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 83 [doctype, 0] assert_equals: Sanity check: startOffset must be correct e xpected 3 but got 4 2252 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 83 [doctype, 0] assert_equals: Sanity check: startOffset must be correct e xpected 3 but got 4
2287 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNo deTypeError function "function () { 2253 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNo deTypeError function "function () {
2288 selection.extend(node, offset); 2254 selection.extend(node, offset);
2289 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 2255 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
2290 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 84 [doctype, -17] assert_equals: Sanity check: startOffset must be correct expected 3 but got 4 2256 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 84 [doctype, -17] assert_equals: Sanity check: startOffset must be correct expected 3 but got 4
2291 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 85 [doctype, 1] assert_throws: extend() to a doctype must throw InvalidNode TypeError function "function () { 2257 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 85 [doctype, 1]
2292 selection.extend(node, offset);
2293 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
2294 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 85 [doctype, 1] assert_equals: Sanity check: startOffset must be correct e xpected 3 but got 4 2258 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 85 [doctype, 1] assert_equals: Sanity check: startOffset must be correct e xpected 3 but got 4
2295 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 86 [foreignDoctype, 0] assert_throws: extend() to a doctype must throw Inva lidNodeTypeError function "function () { 2259 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 86 [foreignDoctype, 0]
2296 selection.extend(node, offset);
2297 }" did not throw
2298 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: startOffset must be co rrect expected 3 but got 4 2260 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: startOffset must be co rrect expected 3 but got 4
2299 FAIL extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must throw InvalidN odeTypeError function "function () { 2261 PASS extend() forwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and p oint 87 [xmlDoctype, 0]
2300 selection.extend(node, offset);
2301 }" did not throw
2302 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: startOffset must be correc t expected 3 but got 4 2262 FAIL extend() backwards with range 29 [paras[0].firstChild, 3, paras[3], 1] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: startOffset must be correc t expected 3 but got 4
2303 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 0 [paras[0].firstChild, -1] 2263 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 0 [paras[0].firstChild, -1]
2304 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startContainer mu st be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2264 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startContainer mu st be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2305 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2265 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2306 " 2266 "
2307 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 1 [paras[0].firstChild, 0] 2267 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 1 [paras[0].firstChild, 0]
2308 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startContainer mus t be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2268 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startContainer mus t be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2309 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2269 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2310 " 2270 "
2311 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be the offset pa ssed to extend() expected 1 but got 2 2271 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be the offset pa ssed to extend() expected 1 but got 2
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
2688 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFr agment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2648 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFr agment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2689 " 2649 "
2690 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2650 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2691 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2651 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2692 " 2652 "
2693 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to ext end() if it has a different root from the original range expected DocumentFragme nt node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2653 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to ext end() if it has a different root from the original range expected DocumentFragme nt node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2694 " 2654 "
2695 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: startContainer must be cor rect expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2655 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: startContainer must be cor rect expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2696 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2656 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2697 " 2657 "
2698 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 83 [doctype, 0] assert_throws: extend() to a doctype must throw InvalidNode TypeError function "function () { 2658 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 83 [doctype, 0]
2699 selection.extend(node, offset);
2700 }" did not throw
2701 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 83 [doctype, 0] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2659 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 83 [doctype, 0] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2702 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2660 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2703 " 2661 "
2704 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNo deTypeError function "function () { 2662 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNo deTypeError function "function () {
2705 selection.extend(node, offset); 2663 selection.extend(node, offset);
2706 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 2664 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
2707 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 84 [doctype, -17] assert_equals: Sanity check: startContainer must be corr ect expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2665 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 84 [doctype, -17] assert_equals: Sanity check: startContainer must be corr ect expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2708 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2666 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2709 " 2667 "
2710 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 85 [doctype, 1] assert_throws: extend() to a doctype must throw InvalidNode TypeError function "function () { 2668 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 85 [doctype, 1]
2711 selection.extend(node, offset);
2712 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
2713 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 85 [doctype, 1] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2669 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 85 [doctype, 1] assert_equals: Sanity check: startContainer must be correc t expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2714 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2670 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2715 " 2671 "
2716 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 86 [foreignDoctype, 0] assert_throws: extend() to a doctype must throw Inva lidNodeTypeError function "function () { 2672 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 86 [foreignDoctype, 0]
2717 selection.extend(node, offset);
2718 }" did not throw
2719 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2673 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2720 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2674 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2721 " 2675 "
2722 FAIL extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must throw InvalidN odeTypeError function "function () { 2676 PASS extend() forwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and p oint 87 [xmlDoctype, 0]
2723 selection.extend(node, offset);
2724 }" did not throw
2725 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: startContainer must be cor rect expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2677 FAIL extend() backwards with range 30 [paras[0], 0, paras[0].firstChild, 7] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: startContainer must be cor rect expected Element node <p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2726 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 2678 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
2727 " 2679 "
2728 PASS extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 0 [para s[0].firstChild, -1] 2680 PASS extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 0 [para s[0].firstChild, -1]
2729 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 0 [par as[0].firstChild, -1] assert_equals: Sanity check: startContainer must be correc t expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2681 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 0 [par as[0].firstChild, -1] assert_equals: Sanity check: startContainer must be correc t expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2730 </p><p id="b" s... but got Text node "Qrstuvwx" 2682 </p><p id="b" s... but got Text node "Qrstuvwx"
2731 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 1 [para s[0].firstChild, 0] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text node "Qrstuvw x" but got Element node <p id="c">Qrstuvwx</p> 2683 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 1 [para s[0].firstChild, 0] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text node "Qrstuvw x" but got Element node <p id="c">Qrstuvwx</p>
2732 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 1 [par as[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2684 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 1 [par as[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2733 </p><p id="b" s... but got Text node "Qrstuvwx" 2685 </p><p id="b" s... but got Text node "Qrstuvwx"
2734 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 2 [para s[0].firstChild, 1] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text node "Qrstuvw x" but got Element node <p id="c">Qrstuvwx</p> 2686 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 2 [para s[0].firstChild, 1] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text node "Qrstuvw x" but got Element node <p id="c">Qrstuvwx</p>
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2977 </p><p id="b" s... but got Text node "Qrstuvwx" 2929 </p><p id="b" s... but got Text node "Qrstuvwx"
2978 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 80 [doc frag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" 2930 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 80 [doc frag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
2979 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 80 [do cfrag, 0] assert_equals: Sanity check: startContainer must be correct expected E lement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2931 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 80 [do cfrag, 0] assert_equals: Sanity check: startContainer must be correct expected E lement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2980 </p><p id="b" s... but got Text node "Qrstuvwx" 2932 </p><p id="b" s... but got Text node "Qrstuvwx"
2981 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 81 [for eignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" 2933 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 81 [for eignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
2982 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 81 [fo reignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct exp ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2934 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 81 [fo reignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct exp ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2983 </p><p id="b" s... but got Text node "Qrstuvwx" 2935 </p><p id="b" s... but got Text node "Qrstuvwx"
2984 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 82 [xml Docfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Qrstuvwx" 2936 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 82 [xml Docfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Qrstuvwx"
2985 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 82 [xm lDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expecte d Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2937 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 82 [xm lDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expecte d Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2986 </p><p id="b" s... but got Text node "Qrstuvwx" 2938 </p><p id="b" s... but got Text node "Qrstuvwx"
2987 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 83 [doc type, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError fu nction "function () { 2939 PASS extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 83 [doc type, 0]
2988 selection.extend(node, offset);
2989 }" did not throw
2990 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 83 [do ctype, 0] assert_equals: Sanity check: startContainer must be correct expected E lement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2940 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 83 [do ctype, 0] assert_equals: Sanity check: startContainer must be correct expected E lement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2991 </p><p id="b" s... but got Text node "Qrstuvwx" 2941 </p><p id="b" s... but got Text node "Qrstuvwx"
2992 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 84 [doc type, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 2942 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 84 [doc type, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () {
2993 selection.extend(node, offset); 2943 selection.extend(node, offset);
2994 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 2944 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
2995 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 84 [do ctype, -17] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2945 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 84 [do ctype, -17] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
2996 </p><p id="b" s... but got Text node "Qrstuvwx" 2946 </p><p id="b" s... but got Text node "Qrstuvwx"
2997 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 85 [doc type, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError fu nction "function () { 2947 PASS extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 85 [doc type, 1]
2998 selection.extend(node, offset);
2999 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
3000 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 85 [do ctype, 1] assert_equals: Sanity check: startContainer must be correct expected E lement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2948 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 85 [do ctype, 1] assert_equals: Sanity check: startContainer must be correct expected E lement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3001 </p><p id="b" s... but got Text node "Qrstuvwx" 2949 </p><p id="b" s... but got Text node "Qrstuvwx"
3002 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 86 [for eignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeE rror function "function () { 2950 PASS extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 86 [for eignDoctype, 0]
3003 selection.extend(node, offset);
3004 }" did not throw
3005 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 86 [fo reignDoctype, 0] assert_equals: Sanity check: startContainer must be correct exp ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2951 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 86 [fo reignDoctype, 0] assert_equals: Sanity check: startContainer must be correct exp ected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3006 </p><p id="b" s... but got Text node "Qrstuvwx" 2952 </p><p id="b" s... but got Text node "Qrstuvwx"
3007 FAIL extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 87 [xml Doctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 2953 PASS extend() forwards with range 31 [testDiv, 2, paras[4], 1] and point 87 [xml Doctype, 0]
3008 selection.extend(node, offset);
3009 }" did not throw
3010 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 87 [xm lDoctype, 0] assert_equals: Sanity check: startContainer must be correct expecte d Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2954 FAIL extend() backwards with range 31 [testDiv, 2, paras[4], 1] and point 87 [xm lDoctype, 0] assert_equals: Sanity check: startContainer must be correct expecte d Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3011 </p><p id="b" s... but got Text node "Qrstuvwx" 2955 </p><p id="b" s... but got Text node "Qrstuvwx"
3012 PASS extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 0 [paras[0].firstChild, -1] 2956 PASS extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 0 [paras[0].firstChild, -1]
3013 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startContainer mus t be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2957 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startContainer mus t be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3014 </p><p id="b" s... but got Text node "Qrstuvwx" 2958 </p><p id="b" s... but got Text node "Qrstuvwx"
3015 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 1 [paras[0].firstChild, 0] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text no de "Qrstuvwx" but got Element node <p id="c">Qrstuvwx</p> 2959 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 1 [paras[0].firstChild, 0] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text no de "Qrstuvwx" but got Element node <p id="c">Qrstuvwx</p>
3016 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2960 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3017 </p><p id="b" s... but got Text node "Qrstuvwx" 2961 </p><p id="b" s... but got Text node "Qrstuvwx"
3018 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 2 [paras[0].firstChild, 1] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text no de "Qrstuvwx" but got Element node <p id="c">Qrstuvwx</p> 2962 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 2 [paras[0].firstChild, 1] assert_equals: anchorNode must not change if the node passed to extend() has the same root as the original range expected Text no de "Qrstuvwx" but got Element node <p id="c">Qrstuvwx</p>
3019 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 2 [paras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 2963 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 2 [paras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
3261 </p><p id="b" s... but got Text node "Qrstuvwx" 3205 </p><p id="b" s... but got Text node "Qrstuvwx"
3262 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend( ) if it has a different root from the original range expected DocumentFragment n ode with 0 children but got Text node "Qrstuvwx" 3206 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend( ) if it has a different root from the original range expected DocumentFragment n ode with 0 children but got Text node "Qrstuvwx"
3263 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 80 [docfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3207 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 80 [docfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3264 </p><p id="b" s... but got Text node "Qrstuvwx" 3208 </p><p id="b" s... but got Text node "Qrstuvwx"
3265 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFra gment node with 0 children but got Text node "Qrstuvwx" 3209 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFra gment node with 0 children but got Text node "Qrstuvwx"
3266 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 81 [foreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3210 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 81 [foreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3267 </p><p id="b" s... but got Text node "Qrstuvwx" 3211 </p><p id="b" s... but got Text node "Qrstuvwx"
3268 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to exte nd() if it has a different root from the original range expected DocumentFragmen t node with 0 children but got Text node "Qrstuvwx" 3212 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to exte nd() if it has a different root from the original range expected DocumentFragmen t node with 0 children but got Text node "Qrstuvwx"
3269 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 82 [xmlDocfrag, 0] assert_equals: Sanity check: startContainer must be corr ect expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3213 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 82 [xmlDocfrag, 0] assert_equals: Sanity check: startContainer must be corr ect expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3270 </p><p id="b" s... but got Text node "Qrstuvwx" 3214 </p><p id="b" s... but got Text node "Qrstuvwx"
3271 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 83 [doctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeT ypeError function "function () { 3215 PASS extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 83 [doctype, 0]
3272 selection.extend(node, offset);
3273 }" did not throw
3274 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 83 [doctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3216 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 83 [doctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3275 </p><p id="b" s... but got Text node "Qrstuvwx" 3217 </p><p id="b" s... but got Text node "Qrstuvwx"
3276 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNod eTypeError function "function () { 3218 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNod eTypeError function "function () {
3277 selection.extend(node, offset); 3219 selection.extend(node, offset);
3278 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 3220 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
3279 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 84 [doctype, -17] assert_equals: Sanity check: startContainer must be corre ct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3221 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 84 [doctype, -17] assert_equals: Sanity check: startContainer must be corre ct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3280 </p><p id="b" s... but got Text node "Qrstuvwx" 3222 </p><p id="b" s... but got Text node "Qrstuvwx"
3281 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 85 [doctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeT ypeError function "function () { 3223 PASS extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 85 [doctype, 1]
3282 selection.extend(node, offset);
3283 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
3284 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 85 [doctype, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3224 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 85 [doctype, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3285 </p><p id="b" s... but got Text node "Qrstuvwx" 3225 </p><p id="b" s... but got Text node "Qrstuvwx"
3286 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 86 [foreignDoctype, 0] assert_throws: extend() to a doctype must throw Inval idNodeTypeError function "function () { 3226 PASS extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 86 [foreignDoctype, 0]
3287 selection.extend(node, offset);
3288 }" did not throw
3289 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 86 [foreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3227 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 86 [foreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3290 </p><p id="b" s... but got Text node "Qrstuvwx" 3228 </p><p id="b" s... but got Text node "Qrstuvwx"
3291 FAIL extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNo deTypeError function "function () { 3229 PASS extend() forwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and po int 87 [xmlDoctype, 0]
3292 selection.extend(node, offset);
3293 }" did not throw
3294 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 87 [xmlDoctype, 0] assert_equals: Sanity check: startContainer must be corr ect expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 3230 FAIL extend() backwards with range 32 [testDiv, 1, paras[2].firstChild, 5] and p oint 87 [xmlDoctype, 0] assert_equals: Sanity check: startContainer must be corr ect expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
3295 </p><p id="b" s... but got Text node "Qrstuvwx" 3231 </p><p id="b" s... but got Text node "Qrstuvwx"
3296 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 0 [paras[0].firstChild, -1] 3232 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 0 [paras[0].firstChild, -1]
3297 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startCo ntainer must be correct expected Element node <html><head><title>Selection exten d() tests</title> 3233 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: startCo ntainer must be correct expected Element node <html><head><title>Selection exten d() tests</title>
3298 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3234 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3299 " 3235 "
3300 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 1 [paras[0].firstChild, 0] 3236 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 1 [paras[0].firstChild, 0]
3301 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startCon tainer must be correct expected Element node <html><head><title>Selection extend () tests</title> 3237 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: startCon tainer must be correct expected Element node <html><head><title>Selection extend () tests</title>
3302 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3238 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3303 " 3239 "
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
3681 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3617 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3682 " 3618 "
3683 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: startContain er must be correct expected Element node <html><head><title>Selection extend() t ests</title> 3619 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 81 [foreignDocfrag, 0] assert_equals: Sanity check: startContain er must be correct expected Element node <html><head><title>Selection extend() t ests</title>
3684 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3620 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3685 " 3621 "
3686 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node pas sed to extend() if it has a different root from the original range expected Docu mentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3622 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node pas sed to extend() if it has a different root from the original range expected Docu mentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3687 " 3623 "
3688 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: startContainer m ust be correct expected Element node <html><head><title>Selection extend() tests </title> 3624 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 82 [xmlDocfrag, 0] assert_equals: Sanity check: startContainer m ust be correct expected Element node <html><head><title>Selection extend() tests </title>
3689 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3625 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3690 " 3626 "
3691 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 83 [doctype, 0] assert_throws: extend() to a doctype must throw I nvalidNodeTypeError function "function () { 3627 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 83 [doctype, 0]
3692 selection.extend(node, offset);
3693 }" did not throw
3694 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 83 [doctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <html><head><title>Selection extend() tests</t itle> 3628 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 83 [doctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <html><head><title>Selection extend() tests</t itle>
3695 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3629 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3696 " 3630 "
3697 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 3631 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () {
3698 selection.extend(node, offset); 3632 selection.extend(node, offset);
3699 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 3633 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
3700 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 84 [doctype, -17] assert_equals: Sanity check: startContainer mu st be correct expected Element node <html><head><title>Selection extend() tests< /title> 3634 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 84 [doctype, -17] assert_equals: Sanity check: startContainer mu st be correct expected Element node <html><head><title>Selection extend() tests< /title>
3701 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3635 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3702 " 3636 "
3703 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 85 [doctype, 1] assert_throws: extend() to a doctype must throw I nvalidNodeTypeError function "function () { 3637 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 85 [doctype, 1]
3704 selection.extend(node, offset);
3705 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
3706 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 85 [doctype, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <html><head><title>Selection extend() tests</t itle> 3638 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 85 [doctype, 1] assert_equals: Sanity check: startContainer must be correct expected Element node <html><head><title>Selection extend() tests</t itle>
3707 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3639 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3708 " 3640 "
3709 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 86 [foreignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 3641 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 86 [foreignDoctype, 0]
3710 selection.extend(node, offset);
3711 }" did not throw
3712 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: startContain er must be correct expected Element node <html><head><title>Selection extend() t ests</title> 3642 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 86 [foreignDoctype, 0] assert_equals: Sanity check: startContain er must be correct expected Element node <html><head><title>Selection extend() t ests</title>
3713 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3643 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3714 " 3644 "
3715 FAIL extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must thro w InvalidNodeTypeError function "function () { 3645 PASS extend() forwards with range 33 [document.documentElement, 1, document.body , 0] and point 87 [xmlDoctype, 0]
3716 selection.extend(node, offset);
3717 }" did not throw
3718 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: startContainer m ust be correct expected Element node <html><head><title>Selection extend() tests </title> 3646 FAIL extend() backwards with range 33 [document.documentElement, 1, document.bod y, 0] and point 87 [xmlDoctype, 0] assert_equals: Sanity check: startContainer m ust be correct expected Element node <html><head><title>Selection extend() tests </title>
3719 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3647 <meta... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3720 " 3648 "
3721 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: rang eCount must be correct expected 1 but got 0 3649 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 0 [paras[0].firstChild, -1] assert_equals: Sanity check: rang eCount must be correct expected 1 but got 0
3722 FAIL extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc .body, 0] and point 0 [paras[0].firstChild, -1] Failed to execute 'extend' on 'S election': This Selection object doesn't have any Ranges. 3650 FAIL extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc .body, 0] and point 0 [paras[0].firstChild, -1] Failed to execute 'extend' on 'S election': This Selection object doesn't have any Ranges.
3723 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: range Count must be correct expected 1 but got 0 3651 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 1 [paras[0].firstChild, 0] assert_equals: Sanity check: range Count must be correct expected 1 but got 0
3724 FAIL extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc .body, 0] and point 1 [paras[0].firstChild, 0] Failed to execute 'extend' on 'Se lection': This Selection object doesn't have any Ranges. 3652 FAIL extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc .body, 0] and point 1 [paras[0].firstChild, 0] Failed to execute 'extend' on 'Se lection': This Selection object doesn't have any Ranges.
3725 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 2 [paras[0].firstChild, 1] assert_equals: Sanity check: range Count must be correct expected 1 but got 0 3653 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 2 [paras[0].firstChild, 1] assert_equals: Sanity check: range Count must be correct expected 1 but got 0
3726 FAIL extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc .body, 0] and point 2 [paras[0].firstChild, 1] Failed to execute 'extend' on 'Se lection': This Selection object doesn't have any Ranges. 3654 FAIL extend() backwards with range 34 [foreignDoc.documentElement, 1, foreignDoc .body, 0] and point 2 [paras[0].firstChild, 1] Failed to execute 'extend' on 'Se lection': This Selection object doesn't have any Ranges.
3727 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 3 [paras[0].firstChild, 2] assert_equals: Sanity check: range Count must be correct expected 1 but got 0 3655 FAIL extend() forwards with range 34 [foreignDoc.documentElement, 1, foreignDoc. body, 0] and point 3 [paras[0].firstChild, 2] assert_equals: Sanity check: range Count must be correct expected 1 but got 0
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
4199 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 80 [d ocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4127 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 80 [d ocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4200 " 4128 "
4201 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4129 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4202 " 4130 "
4203 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4131 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4204 " 4132 "
4205 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4133 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4206 " 4134 "
4207 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4135 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4208 " 4136 "
4209 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 83 [do ctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 4137 PASS extend() forwards with range 35 [document, 0, document, 1] and point 83 [do ctype, 0]
4210 selection.extend(node, offset);
4211 }" did not throw
4212 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4138 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4213 " 4139 "
4214 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 4140 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () {
4215 selection.extend(node, offset); 4141 selection.extend(node, offset);
4216 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 4142 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
4217 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4143 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4218 " 4144 "
4219 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 85 [do ctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 4145 PASS extend() forwards with range 35 [document, 0, document, 1] and point 85 [do ctype, 1]
4220 selection.extend(node, offset);
4221 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
4222 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4146 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4223 " 4147 "
4224 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 86 [fo reignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeType Error function "function () { 4148 PASS extend() forwards with range 35 [document, 0, document, 1] and point 86 [fo reignDoctype, 0]
4225 selection.extend(node, offset);
4226 }" did not throw
4227 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4149 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4228 " 4150 "
4229 FAIL extend() forwards with range 35 [document, 0, document, 1] and point 87 [xm lDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeErro r function "function () { 4151 PASS extend() forwards with range 35 [document, 0, document, 1] and point 87 [xm lDoctype, 0]
4230 selection.extend(node, offset);
4231 }" did not throw
4232 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4152 FAIL extend() backwards with range 35 [document, 0, document, 1] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4233 " 4153 "
4234 PASS extend() forwards with range 36 [document, 0, document, 2] and point 0 [par as[0].firstChild, -1] 4154 PASS extend() forwards with range 36 [document, 0, document, 2] and point 0 [par as[0].firstChild, -1]
4235 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: startContainer must be corre ct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4155 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: startContainer must be corre ct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4236 " 4156 "
4237 PASS extend() forwards with range 36 [document, 0, document, 2] and point 1 [par as[0].firstChild, 0] 4157 PASS extend() forwards with range 36 [document, 0, document, 2] and point 1 [par as[0].firstChild, 0]
4238 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4158 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4239 " 4159 "
4240 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 2 [par as[0].firstChild, 1] assert_equals: focusOffset must be the offset passed to ext end() expected 1 but got 2 4160 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 2 [par as[0].firstChild, 1] assert_equals: focusOffset must be the offset passed to ext end() expected 1 but got 2
4241 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4161 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
4536 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 80 [d ocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4456 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 80 [d ocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4537 " 4457 "
4538 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4458 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4539 " 4459 "
4540 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4460 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4541 " 4461 "
4542 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4462 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4543 " 4463 "
4544 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4464 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4545 " 4465 "
4546 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 83 [do ctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 4466 PASS extend() forwards with range 36 [document, 0, document, 2] and point 83 [do ctype, 0]
4547 selection.extend(node, offset);
4548 }" did not throw
4549 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4467 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4550 " 4468 "
4551 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 4469 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () {
4552 selection.extend(node, offset); 4470 selection.extend(node, offset);
4553 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 4471 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
4554 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4472 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4555 " 4473 "
4556 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 85 [do ctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 4474 PASS extend() forwards with range 36 [document, 0, document, 2] and point 85 [do ctype, 1]
4557 selection.extend(node, offset);
4558 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
4559 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4475 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4560 " 4476 "
4561 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 86 [fo reignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeType Error function "function () { 4477 PASS extend() forwards with range 36 [document, 0, document, 2] and point 86 [fo reignDoctype, 0]
4562 selection.extend(node, offset);
4563 }" did not throw
4564 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4478 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4565 " 4479 "
4566 FAIL extend() forwards with range 36 [document, 0, document, 2] and point 87 [xm lDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeErro r function "function () { 4480 PASS extend() forwards with range 36 [document, 0, document, 2] and point 87 [xm lDoctype, 0]
4567 selection.extend(node, offset);
4568 }" did not throw
4569 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4481 FAIL extend() backwards with range 36 [document, 0, document, 2] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4570 " 4482 "
4571 PASS extend() forwards with range 37 [document, 1, document, 2] and point 0 [par as[0].firstChild, -1] 4483 PASS extend() forwards with range 37 [document, 1, document, 2] and point 0 [par as[0].firstChild, -1]
4572 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: startContainer must be corre ct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4484 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 0 [pa ras[0].firstChild, -1] assert_equals: Sanity check: startContainer must be corre ct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4573 " 4485 "
4574 PASS extend() forwards with range 37 [document, 1, document, 2] and point 1 [par as[0].firstChild, 0] 4486 PASS extend() forwards with range 37 [document, 1, document, 2] and point 1 [par as[0].firstChild, 0]
4575 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4487 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 1 [pa ras[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4576 " 4488 "
4577 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 2 [par as[0].firstChild, 1] assert_equals: focusOffset must be the offset passed to ext end() expected 1 but got 2 4489 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 2 [par as[0].firstChild, 1] assert_equals: focusOffset must be the offset passed to ext end() expected 1 but got 2
4578 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4490 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 2 [pa ras[0].firstChild, 1] assert_equals: Sanity check: startContainer must be correc t expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
4873 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 80 [d ocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4785 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 80 [d ocfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4874 " 4786 "
4875 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4787 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 81 [fo reignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() i f it has a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4876 " 4788 "
4877 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4789 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 81 [f oreignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4878 " 4790 "
4879 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4791 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 82 [xm lDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node wit h 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4880 " 4792 "
4881 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4793 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 82 [x mlDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4882 " 4794 "
4883 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 83 [do ctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 4795 PASS extend() forwards with range 37 [document, 1, document, 2] and point 83 [do ctype, 0]
4884 selection.extend(node, offset);
4885 }" did not throw
4886 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4796 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 83 [d octype, 0] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4887 " 4797 "
4888 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 4798 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 84 [do ctype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () {
4889 selection.extend(node, offset); 4799 selection.extend(node, offset);
4890 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 4800 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
4891 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4801 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 84 [d octype, -17] assert_equals: Sanity check: startContainer must be correct expecte d Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4892 " 4802 "
4893 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 85 [do ctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 4803 PASS extend() forwards with range 37 [document, 1, document, 2] and point 85 [do ctype, 1]
4894 selection.extend(node, offset);
4895 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
4896 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4804 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 85 [d octype, 1] assert_equals: Sanity check: startContainer must be correct expected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4897 " 4805 "
4898 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 86 [fo reignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeType Error function "function () { 4806 PASS extend() forwards with range 37 [document, 1, document, 2] and point 86 [fo reignDoctype, 0]
4899 selection.extend(node, offset);
4900 }" did not throw
4901 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4807 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 86 [f oreignDoctype, 0] assert_equals: Sanity check: startContainer must be correct ex pected Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4902 " 4808 "
4903 FAIL extend() forwards with range 37 [document, 1, document, 2] and point 87 [xm lDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeErro r function "function () { 4809 PASS extend() forwards with range 37 [document, 1, document, 2] and point 87 [xm lDoctype, 0]
4904 selection.extend(node, offset);
4905 }" did not throw
4906 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4810 FAIL extend() backwards with range 37 [document, 1, document, 2] and point 87 [x mlDoctype, 0] assert_equals: Sanity check: startContainer must be correct expect ed Document node with 2 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4907 " 4811 "
4908 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 0 [paras [0].firstChild, -1] 4812 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 0 [paras [0].firstChild, -1]
4909 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 0 [para s[0].firstChild, -1] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 4813 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 0 [para s[0].firstChild, -1] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
4910 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4814 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4911 " 4815 "
4912 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 1 [paras [0].firstChild, 0] 4816 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 1 [paras [0].firstChild, 0]
4913 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 1 [para s[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 4817 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 1 [para s[0].firstChild, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
4914 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 4818 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
4915 " 4819 "
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
5293 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 81 [fore ignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node w ith 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5197 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 81 [fore ignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFragment node w ith 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5294 " 5198 "
5295 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 81 [for eignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expe cted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 5199 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 81 [for eignDocfrag, 0] assert_equals: Sanity check: startContainer must be correct expe cted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
5296 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5200 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5297 " 5201 "
5298 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 82 [xmlD ocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it h as a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5202 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 82 [xmlD ocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it h as a different root from the original range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5299 " 5203 "
5300 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 82 [xml Docfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 5204 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 82 [xml Docfrag, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
5301 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5205 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5302 " 5206 "
5303 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 83 [doct ype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError fun ction "function () { 5207 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 83 [doct ype, 0]
5304 selection.extend(node, offset);
5305 }" did not throw
5306 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 83 [doc type, 0] assert_equals: Sanity check: startContainer must be correct expected El ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 5208 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 83 [doc type, 0] assert_equals: Sanity check: startContainer must be correct expected El ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
5307 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5209 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5308 " 5210 "
5309 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 84 [doct ype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () { 5211 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 84 [doct ype, -17] assert_throws: extend() to a doctype must throw InvalidNodeTypeError f unction "function () {
5310 selection.extend(node, offset); 5212 selection.extend(node, offset);
5311 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 5213 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
5312 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 84 [doc type, -17] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 5214 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 84 [doc type, -17] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
5313 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5215 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5314 " 5216 "
5315 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 85 [doct ype, 1] assert_throws: extend() to a doctype must throw InvalidNodeTypeError fun ction "function () { 5217 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 85 [doct ype, 1]
5316 selection.extend(node, offset);
5317 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
5318 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 85 [doc type, 1] assert_equals: Sanity check: startContainer must be correct expected El ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 5218 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 85 [doc type, 1] assert_equals: Sanity check: startContainer must be correct expected El ement node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
5319 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5219 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5320 " 5220 "
5321 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 86 [fore ignDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeEr ror function "function () { 5221 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 86 [fore ignDoctype, 0]
5322 selection.extend(node, offset);
5323 }" did not throw
5324 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 86 [for eignDoctype, 0] assert_equals: Sanity check: startContainer must be correct expe cted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 5222 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 86 [for eignDoctype, 0] assert_equals: Sanity check: startContainer must be correct expe cted Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
5325 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5223 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5326 " 5224 "
5327 FAIL extend() forwards with range 38 [testDiv, 0, comment, 5] and point 87 [xmlD octype, 0] assert_throws: extend() to a doctype must throw InvalidNodeTypeError function "function () { 5225 PASS extend() forwards with range 38 [testDiv, 0, comment, 5] and point 87 [xmlD octype, 0]
5328 selection.extend(node, offset);
5329 }" did not throw
5330 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 87 [xml Doctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ 5226 FAIL extend() backwards with range 38 [testDiv, 0, comment, 5] and point 87 [xml Doctype, 0] assert_equals: Sanity check: startContainer must be correct expected Element node <div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ
5331 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 5227 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
5332 " 5228 "
5333 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 0 [paras[0].firstChild, -1] 5229 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 0 [paras[0].firstChild, -1]
5334 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 0 [paras[0].firstChild, -1] assert_equals: Sanity check: endContainer must be correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuv wx" 5230 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 0 [paras[0].firstChild, -1] assert_equals: Sanity check: endContainer must be correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuv wx"
5335 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 1 [paras[0].firstChild, 0] 5231 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 1 [paras[0].firstChild, 0]
5336 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 1 [paras[0].firstChild, 0] assert_equals: Sanity check: endContainer must b e correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvw x" 5232 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 1 [paras[0].firstChild, 0] assert_equals: Sanity check: endContainer must b e correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvw x"
5337 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be the offset pas sed to extend() expected 1 but got 2 5233 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 2 [paras[0].firstChild, 1] assert_equals: focusOffset must be the offset pas sed to extend() expected 1 but got 2
5338 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 2 [paras[0].firstChild, 1] assert_equals: Sanity check: endContainer must b e correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvw x" 5234 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 2 [paras[0].firstChild, 1] assert_equals: Sanity check: endContainer must b e correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvw x"
5339 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 3 [paras[0].firstChild, 2] 5235 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 3 [paras[0].firstChild, 2]
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
5513 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 78 [detachedForeignComment, 4] assert_equals: anchorNode must be the node pa ssed to extend() if it has a different root from the original range expected Com ment node <!--אריה יהודה--> but got Text node "Qrstuvwx" 5409 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 78 [detachedForeignComment, 4] assert_equals: anchorNode must be the node pa ssed to extend() if it has a different root from the original range expected Com ment node <!--אריה יהודה--> but got Text node "Qrstuvwx"
5514 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 78 [detachedForeignComment, 4] assert_equals: Sanity check: endContainer mu st be correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrs tuvwx" 5410 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 78 [detachedForeignComment, 4] assert_equals: Sanity check: endContainer mu st be correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrs tuvwx"
5515 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 79 [detachedXmlComment, 2] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected Comment node <!--בן חיים אליעזר--> but got Text node "Qrstuvwx" 5411 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 79 [detachedXmlComment, 2] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected Comment node <!--בן חיים אליעזר--> but got Text node "Qrstuvwx"
5516 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 79 [detachedXmlComment, 2] assert_equals: Sanity check: endContainer must b e correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvw x" 5412 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 79 [detachedXmlComment, 2] assert_equals: Sanity check: endContainer must b e correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvw x"
5517 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend( ) if it has a different root from the original range expected DocumentFragment n ode with 0 children but got Text node "Qrstuvwx" 5413 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 80 [docfrag, 0] assert_equals: anchorNode must be the node passed to extend( ) if it has a different root from the original range expected DocumentFragment n ode with 0 children but got Text node "Qrstuvwx"
5518 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 80 [docfrag, 0] assert_equals: Sanity check: endContainer must be correct e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5414 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 80 [docfrag, 0] assert_equals: Sanity check: endContainer must be correct e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5519 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFra gment node with 0 children but got Text node "Qrstuvwx" 5415 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 81 [foreignDocfrag, 0] assert_equals: anchorNode must be the node passed to extend() if it has a different root from the original range expected DocumentFra gment node with 0 children but got Text node "Qrstuvwx"
5520 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 81 [foreignDocfrag, 0] assert_equals: Sanity check: endContainer must be co rrect expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5416 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 81 [foreignDocfrag, 0] assert_equals: Sanity check: endContainer must be co rrect expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5521 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to exte nd() if it has a different root from the original range expected DocumentFragmen t node with 0 children but got Text node "Qrstuvwx" 5417 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 82 [xmlDocfrag, 0] assert_equals: anchorNode must be the node passed to exte nd() if it has a different root from the original range expected DocumentFragmen t node with 0 children but got Text node "Qrstuvwx"
5522 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 82 [xmlDocfrag, 0] assert_equals: Sanity check: endContainer must be correc t expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5418 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 82 [xmlDocfrag, 0] assert_equals: Sanity check: endContainer must be correc t expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5523 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 83 [doctype, 0] assert_throws: extend() to a doctype must throw InvalidNodeT ypeError function "function () { 5419 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 83 [doctype, 0]
5524 selection.extend(node, offset);
5525 }" did not throw
5526 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 83 [doctype, 0] assert_equals: Sanity check: endContainer must be correct e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5420 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 83 [doctype, 0] assert_equals: Sanity check: endContainer must be correct e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5527 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNod eTypeError function "function () { 5421 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 84 [doctype, -17] assert_throws: extend() to a doctype must throw InvalidNod eTypeError function "function () {
5528 selection.extend(node, offset); 5422 selection.extend(node, offset);
5529 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24 5423 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': -17 is not a valid offset." that is not a DOMException INVALID_NODE_TYPE_ERR : property "code" is equal to 1, expected 24
5530 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 84 [doctype, -17] assert_equals: Sanity check: endContainer must be correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5424 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 84 [doctype, -17] assert_equals: Sanity check: endContainer must be correct expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5531 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 85 [doctype, 1] assert_throws: extend() to a doctype must throw InvalidNodeT ypeError function "function () { 5425 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 85 [doctype, 1]
5532 selection.extend(node, offset);
5533 }" threw object "IndexSizeError: Failed to execute 'extend' on 'Selectio n': 1 is larger than the given node's length." that is not a DOMException INVALI D_NODE_TYPE_ERR: property "code" is equal to 1, expected 24
5534 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 85 [doctype, 1] assert_equals: Sanity check: endContainer must be correct e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5426 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 85 [doctype, 1] assert_equals: Sanity check: endContainer must be correct e xpected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5535 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 86 [foreignDoctype, 0] assert_throws: extend() to a doctype must throw Inval idNodeTypeError function "function () { 5427 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 86 [foreignDoctype, 0]
5536 selection.extend(node, offset);
5537 }" did not throw
5538 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 86 [foreignDoctype, 0] assert_equals: Sanity check: endContainer must be co rrect expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5428 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 86 [foreignDoctype, 0] assert_equals: Sanity check: endContainer must be co rrect expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5539 FAIL extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 87 [xmlDoctype, 0] assert_throws: extend() to a doctype must throw InvalidNo deTypeError function "function () { 5429 PASS extend() forwards with range 39 [paras[2].firstChild, 4, comment, 2] and po int 87 [xmlDoctype, 0]
5540 selection.extend(node, offset);
5541 }" did not throw
5542 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 87 [xmlDoctype, 0] assert_equals: Sanity check: endContainer must be correc t expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" 5430 FAIL extend() backwards with range 39 [paras[2].firstChild, 4, comment, 2] and p oint 87 [xmlDoctype, 0] assert_equals: Sanity check: endContainer must be correc t expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx"
5543 Harness: the test ran to completion. 5431 Harness: the test ran to completion.
5544 5432
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698