OLD | NEW |
---|---|
1 CONSOLE ERROR: line 27: The given range isn't in document. | 1 CONSOLE ERROR: line 27: The given range isn't in document. |
2 CONSOLE ERROR: line 80: The given range isn't in document. | 2 CONSOLE ERROR: line 80: The given range isn't in document. |
3 CONSOLE ERROR: line 27: The given range isn't in document. | 3 CONSOLE ERROR: line 27: The given range isn't in document. |
4 CONSOLE ERROR: line 80: The given range isn't in document. | 4 CONSOLE ERROR: line 80: The given range isn't in document. |
5 CONSOLE ERROR: line 27: The given range isn't in document. | 5 CONSOLE ERROR: line 27: The given range isn't in document. |
6 CONSOLE ERROR: line 80: The given range isn't in document. | 6 CONSOLE ERROR: line 80: The given range isn't in document. |
7 CONSOLE ERROR: line 27: The given range isn't in document. | 7 CONSOLE ERROR: line 27: The given range isn't in document. |
8 CONSOLE ERROR: line 80: The given range isn't in document. | 8 CONSOLE ERROR: line 80: The given range isn't in document. |
9 CONSOLE ERROR: line 27: The given range isn't in document. | 9 CONSOLE ERROR: line 27: The given range isn't in document. |
10 CONSOLE ERROR: line 80: The given range isn't in document. | 10 CONSOLE ERROR: line 80: The given range isn't in document. |
11 CONSOLE ERROR: line 27: The given range isn't in document. | 11 CONSOLE ERROR: line 27: The given range isn't in document. |
12 CONSOLE ERROR: line 80: The given range isn't in document. | 12 CONSOLE ERROR: line 80: The given range isn't in document. |
13 CONSOLE ERROR: line 27: The given range isn't in document. | 13 CONSOLE ERROR: line 27: The given range isn't in document. |
14 CONSOLE ERROR: line 80: The given range isn't in document. | 14 CONSOLE ERROR: line 80: The given range isn't in document. |
15 CONSOLE ERROR: line 27: The given range isn't in document. | 15 CONSOLE ERROR: line 27: The given range isn't in document. |
16 CONSOLE ERROR: line 80: The given range isn't in document. | 16 CONSOLE ERROR: line 80: The given range isn't in document. |
17 CONSOLE ERROR: line 27: The given range isn't in document. | 17 CONSOLE ERROR: line 27: The given range isn't in document. |
18 CONSOLE ERROR: line 80: The given range isn't in document. | 18 CONSOLE ERROR: line 80: The given range isn't in document. |
19 This is a testharness.js-based test. | 19 This is a testharness.js-based test. |
20 PASS Range 0 [] collapseToStart() | 20 PASS Range 0 [] collapseToStart() |
21 PASS Range 0 [] collapseToEnd() | 21 PASS Range 0 [] collapseToEnd() |
22 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToStart() | 22 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToStart() |
23 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToEnd() | 23 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToEnd() |
24 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToStart() | 24 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToStart() |
25 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToEnd() as sert_equals: focusOffset must equal the original end offset expected 1 but got 2 | 25 FAIL Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToEnd() as sert_equals: focusOffset must equal the original end offset expected 1 but got 2 |
26 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToStart() | 26 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToStart() |
27 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToEnd() | 27 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToEnd() |
28 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToStart() | 28 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToStart() |
29 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToEnd() as sert_equals: focusOffset must equal the original end offset expected 9 but got 1 0 | 29 FAIL Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToEnd() as sert_equals: focusOffset must equal the original end offset expected 9 but got 1 0 |
30 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToStart() | 30 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToStart() assert_equals: focusNode must equal the original start node expected Text node " Ijklmnop |
yosin_UTC9
2017/02/14 10:09:53
Before this patch, SelectionEditor::m_cachedRange
| |
31 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToEnd() | 31 " but got Text node "Qrstuvwx" |
32 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToStart() assert_equals: focusOffset must equal the original start offset expected 0 but g ot 1 | 32 FAIL Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToEnd() as sert_equals: focusNode must equal the original end node expected Text node "Ijkl mnop |
33 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToEnd() as sert_equals: anchorOffset must equal the original end offset expected 1 but got 0 | 33 " but got Text node "Qrstuvwx" |
34 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToStart() assert_equals: focusOffset must equal the original start offset expected 2 but g ot 8 | 34 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToStart() assert_equals: focusNode must equal the original start node expected Text node " Ijklmnop |
35 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToEnd() as sert_equals: anchorOffset must equal the original end offset expected 8 but got 2 | 35 " but got Text node "Qrstuvwx" |
36 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToStart() assert_equals: focusOffset must equal the original start offset expected 2 but g ot 9 | 36 FAIL Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToEnd() as sert_equals: focusNode must equal the original end node expected Text node "Ijkl mnop |
37 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToEnd() as sert_equals: anchorOffset must equal the original end offset expected 9 but got 2 | 37 " but got Text node "Qrstuvwx" |
38 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToStart() assert_equals: focusNode must equal the original start node expected Text node " Ijklmnop | |
39 " but got Text node "Qrstuvwx" | |
40 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToEnd() as sert_equals: focusNode must equal the original end node expected Text node "Ijkl mnop | |
41 " but got Text node "Qrstuvwx" | |
42 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToStart() assert_equals: focusNode must equal the original start node expected Text node " Ijklmnop | |
43 " but got Text node "Qrstuvwx" | |
44 FAIL Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToEnd() as sert_equals: focusNode must equal the original end node expected Text node "Ijkl mnop | |
45 " but got Text node "Qrstuvwx" | |
38 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] collapse ToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 46 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] collapse ToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
39 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] collapse ToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() ex pected 1 but got 0 | 47 FAIL Range 9 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 0] collapse ToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() ex pected 1 but got 0 |
40 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] collaps eToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 48 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] collaps eToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
41 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] collaps eToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 | 49 FAIL Range 10 [detachedPara1.firstChild, 0, detachedPara1.firstChild, 1] collaps eToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 |
42 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] collaps eToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 50 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] collaps eToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
43 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] collaps eToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 | 51 FAIL Range 11 [detachedPara1.firstChild, 2, detachedPara1.firstChild, 8] collaps eToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 |
44 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] collapseT oStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 | 52 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] collapseT oStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 |
45 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] collapseT oEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() exp ected 1 but got 0 | 53 FAIL Range 12 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 0] collapseT oEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() exp ected 1 but got 0 |
46 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] collapseT oStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 | 54 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] collapseT oStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 |
47 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] collapseT oEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() exp ected 1 but got 0 | 55 FAIL Range 13 [foreignPara1.firstChild, 0, foreignPara1.firstChild, 1] collapseT oEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() exp ected 1 but got 0 |
48 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] collapseT oStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 | 56 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] collapseT oStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() e xpected 1 but got 0 |
49 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] collapseT oEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() exp ected 1 but got 0 | 57 FAIL Range 14 [foreignPara1.firstChild, 2, foreignPara1.firstChild, 8] collapseT oEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() exp ected 1 but got 0 |
50 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1] collaps eToStart() assert_equals: focusOffset must equal the original start offset expec ted 0 but got 1 | 58 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1] collaps eToStart() assert_equals: focusNode must equal the original start node expected Element node <html><head><title>Selection.collapseTo(Start|End)() test... but go t Text node "Äb̈c̈d̈ëf̈g̈ḧ |
51 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1] collaps eToEnd() assert_equals: anchorOffset must equal the original end offset expected 1 but got 0 | 59 " |
60 FAIL Range 15 [document.documentElement, 0, document.documentElement, 1] collaps eToEnd() assert_equals: focusNode must equal the original end node expected Elem ent node <html><head><title>Selection.collapseTo(Start|End)() test... but got Te xt node "Äb̈c̈d̈ëf̈g̈ḧ | |
61 " | |
52 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2] collaps eToStart() assert_equals: focusNode must equal the original start node expected Element node <html><head><title>Selection.collapseTo(Start|End)() test... but go t Text node "Äb̈c̈d̈ëf̈g̈ḧ | 62 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2] collaps eToStart() assert_equals: focusNode must equal the original start node expected Element node <html><head><title>Selection.collapseTo(Start|End)() test... but go t Text node "Äb̈c̈d̈ëf̈g̈ḧ |
53 " | 63 " |
54 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2] collaps eToEnd() assert_equals: focusNode must equal the original end node expected Elem ent node <html><head><title>Selection.collapseTo(Start|End)() test... but got Te xt node "Qrstuvwx" | 64 FAIL Range 16 [document.documentElement, 0, document.documentElement, 2] collaps eToEnd() assert_equals: focusNode must equal the original end node expected Elem ent node <html><head><title>Selection.collapseTo(Start|End)() test... but got Te xt node "Qrstuvwx" |
55 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2] collaps eToStart() assert_equals: focusNode must equal the original start node expected Element node <html><head><title>Selection.collapseTo(Start|End)() test... but go t Text node "Äb̈c̈d̈ëf̈g̈ḧ | 65 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2] collaps eToStart() assert_equals: focusNode must equal the original start node expected Element node <html><head><title>Selection.collapseTo(Start|End)() test... but go t Text node "Äb̈c̈d̈ëf̈g̈ḧ |
56 " | 66 " |
57 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2] collaps eToEnd() assert_equals: focusNode must equal the original end node expected Elem ent node <html><head><title>Selection.collapseTo(Start|End)() test... but got Te xt node "Qrstuvwx" | 67 FAIL Range 17 [document.documentElement, 1, document.documentElement, 2] collaps eToEnd() assert_equals: focusNode must equal the original end node expected Elem ent node <html><head><title>Selection.collapseTo(Start|End)() test... but got Te xt node "Qrstuvwx" |
58 PASS Range 18 [document.head, 1, document.head, 1] collapseToStart() | 68 FAIL Range 18 [document.head, 1, document.head, 1] collapseToStart() assert_equa ls: focusNode must equal the original start node expected Element node <head><ti tle>Selection.collapseTo(Start|End)() tests</tit... but got Text node "Äb̈c̈d̈e ̈f̈g̈ḧ |
59 PASS Range 18 [document.head, 1, document.head, 1] collapseToEnd() | 69 " |
70 FAIL Range 18 [document.head, 1, document.head, 1] collapseToEnd() assert_equals : focusNode must equal the original end node expected Element node <head><title> Selection.collapseTo(Start|End)() tests</tit... but got Text node "Äb̈c̈d̈ëf̈g ̈ḧ | |
71 " | |
60 FAIL Range 19 [document.body, 0, document.body, 1] collapseToStart() assert_equa ls: focusNode must equal the original start node expected Element node <body><di v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 72 FAIL Range 19 [document.body, 0, document.body, 1] collapseToStart() assert_equa ls: focusNode must equal the original start node expected Element node <body><di v id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
61 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 73 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
62 " | 74 " |
63 FAIL Range 19 [document.body, 0, document.body, 1] collapseToEnd() assert_equals : focusNode must equal the original end node expected Element node <body><div id ="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 75 FAIL Range 19 [document.body, 0, document.body, 1] collapseToEnd() assert_equals : focusNode must equal the original end node expected Element node <body><div id ="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
64 </p><p id... but got Text node "Qrstuvwx" | 76 </p><p id... but got Text node "Qrstuvwx" |
65 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] col lapseToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRan ge() expected 1 but got 0 | 77 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] col lapseToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRan ge() expected 1 but got 0 |
66 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] col lapseToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange () expected 1 but got 0 | 78 FAIL Range 20 [foreignDoc.documentElement, 0, foreignDoc.documentElement, 1] col lapseToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange () expected 1 but got 0 |
67 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1] collapseToStart() assert_ equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but go t 0 | 79 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1] collapseToStart() assert_ equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but go t 0 |
68 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1] collapseToEnd() assert_eq uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 80 FAIL Range 21 [foreignDoc.head, 1, foreignDoc.head, 1] collapseToEnd() assert_eq uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
69 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0] collapseToStart() assert_ equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but go t 0 | 81 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0] collapseToStart() assert_ equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but go t 0 |
70 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0] collapseToEnd() assert_eq uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 82 FAIL Range 22 [foreignDoc.body, 0, foreignDoc.body, 0] collapseToEnd() assert_eq uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
71 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToStart() | 83 FAIL Range 23 [paras[0], 0, paras[0], 0] collapseToStart() assert_equals: focusN ode must equal the original start node expected Element node <p id="a">Äb̈c̈d̈e ̈f̈g̈ḧ |
72 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToEnd() | 84 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
85 " | |
86 FAIL Range 23 [paras[0], 0, paras[0], 0] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Element node <p id="a">Äb̈c̈d̈ëf̈g ̈ḧ | |
87 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
88 " | |
73 FAIL Range 24 [paras[0], 0, paras[0], 1] collapseToStart() assert_equals: focusN ode must equal the original start node expected Element node <p id="a">Äb̈c̈d̈e ̈f̈g̈ḧ | 89 FAIL Range 24 [paras[0], 0, paras[0], 1] collapseToStart() assert_equals: focusN ode must equal the original start node expected Element node <p id="a">Äb̈c̈d̈e ̈f̈g̈ḧ |
74 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 90 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
75 " | 91 " |
76 FAIL Range 24 [paras[0], 0, paras[0], 1] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Element node <p id="a">Äb̈c̈d̈ëf̈g ̈ḧ | 92 FAIL Range 24 [paras[0], 0, paras[0], 1] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Element node <p id="a">Äb̈c̈d̈ëf̈g ̈ḧ |
77 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 93 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
78 " | 94 " |
79 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToStart() assert_equa ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 95 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToStart() assert_equa ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
80 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToEnd() assert_equals : Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 96 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToEnd() assert_equals : Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
81 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToStart() assert_equa ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 97 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToStart() assert_equa ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
82 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToEnd() assert_equals : Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 98 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToEnd() assert_equals : Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
83 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart() | 99 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart() |
84 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToEnd() a ssert_equals: focusNode must equal the original end node expected Text node "Ijk lmnop | 100 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToEnd() a ssert_equals: focusNode must equal the original end node expected Text node "Ijk lmnop |
85 " but got Text node "Qrstuvwx" | 101 " but got Text node "Qrstuvwx" |
86 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart() | 102 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart() |
87 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToEnd() a ssert_equals: focusNode must equal the original end node expected Text node "Ijk lmnop | 103 FAIL Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToEnd() a ssert_equals: focusNode must equal the original end node expected Text node "Ijk lmnop |
88 " but got Text node "Qrstuvwx" | 104 " but got Text node "Qrstuvwx" |
89 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToStart() assert_equ als: focusOffset must equal the original start offset expected 3 but got 4 | 105 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToStart() assert_equ als: focusOffset must equal the original start offset expected 3 but got 4 |
90 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToEnd() assert_equal s: focusNode must equal the original end node expected Element node <p id="d" st yle="display:none">Yzabcdef</p> but got Text node "Qrstuvwx" | 106 FAIL Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToEnd() assert_equal s: focusNode must equal the original end node expected Element node <p id="d" st yle="display:none">Yzabcdef</p> but got Text node "Qrstuvwx" |
91 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToStart() assert_equ als: focusNode must equal the original start node expected Element node <p id="a ">Äb̈c̈d̈ëf̈g̈ḧ | 107 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToStart() assert_equ als: focusNode must equal the original start node expected Element node <p id="a ">Äb̈c̈d̈ëf̈g̈ḧ |
92 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 108 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
93 " | 109 " |
94 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToEnd() assert_equal s: focusOffset must equal the original end offset expected 7 but got 8 | 110 FAIL Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToEnd() assert_equal s: focusOffset must equal the original end offset expected 7 but got 8 |
95 FAIL Range 31 [testDiv, 2, paras[4], 1] collapseToStart() assert_equals: focusNo de must equal the original start node expected Element node <div id="test"><p id ="a">Äb̈c̈d̈ëf̈g̈ḧ | 111 FAIL Range 31 [testDiv, 2, paras[4], 1] collapseToStart() assert_equals: focusNo de must equal the original start node expected Element node <div id="test"><p id ="a">Äb̈c̈d̈ëf̈g̈ḧ |
96 </p><p id="b" s... but got Text node "Qrstuvwx" | 112 </p><p id="b" s... but got Text node "Qrstuvwx" |
97 FAIL Range 31 [testDiv, 2, paras[4], 1] collapseToEnd() assert_equals: focusNode must equal the original end node expected Element node <p id="e" style="display :none">Ghijklmn</p> but got Text node "Qrstuvwx" | 113 FAIL Range 31 [testDiv, 2, paras[4], 1] collapseToEnd() assert_equals: focusNode must equal the original end node expected Element node <p id="e" style="display :none">Ghijklmn</p> but got Text node "Qrstuvwx" |
98 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToStart() assert_equa ls: focusNode must equal the original start node expected Element node <div id=" test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 114 FAIL Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToStart() assert_equa ls: focusNode must equal the original start node expected Element node <div id=" test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
99 </p><p id="b" s... but got Text node "Qrstuvwx" | 115 </p><p id="b" s... but got Text node "Qrstuvwx" |
100 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd() | 116 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd() |
101 FAIL Range 33 [document.documentElement, 1, document.body, 0] collapseToStart() assert_equals: focusNode must equal the original start node expected Element nod e <html><head><title>Selection.collapseTo(Start|End)() test... but got Element n ode <body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 117 FAIL Range 33 [document.documentElement, 1, document.body, 0] collapseToStart() assert_equals: focusNode must equal the original start node expected Element nod e <html><head><title>Selection.collapseTo(Start|End)() test... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
102 </p><p id... | 118 " |
103 FAIL Range 33 [document.documentElement, 1, document.body, 0] collapseToEnd() as sert_equals: anchorNode must equal the original end node expected Element node < body><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ | 119 FAIL Range 33 [document.documentElement, 1, document.body, 0] collapseToEnd() as sert_equals: focusNode must equal the original end node expected Element node <b ody><div id="test"><p id="a">Äb̈c̈d̈ëf̈g̈ḧ |
104 </p><p id... but got Element node <html><head><title>Selection.collapseTo(Start| End)() test... | 120 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
121 " | |
105 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] collapseToStar t() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expect ed 1 but got 0 | 122 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] collapseToStar t() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expect ed 1 but got 0 |
106 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] collapseToEnd( ) assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 123 FAIL Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0] collapseToEnd( ) assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
107 FAIL Range 35 [document, 0, document, 1] collapseToStart() assert_equals: focusO ffset must equal the original start offset expected 0 but got 1 | 124 FAIL Range 35 [document, 0, document, 1] collapseToStart() assert_equals: focusN ode must equal the original start node expected Document node with 2 children bu t got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
108 FAIL Range 35 [document, 0, document, 1] collapseToEnd() assert_equals: anchorOf fset must equal the original end offset expected 1 but got 0 | 125 " |
126 FAIL Range 35 [document, 0, document, 1] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Document node with 2 children but go t Text node "Äb̈c̈d̈ëf̈g̈ḧ | |
127 " | |
109 FAIL Range 36 [document, 0, document, 2] collapseToStart() assert_equals: focusN ode must equal the original start node expected Document node with 2 children bu t got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 128 FAIL Range 36 [document, 0, document, 2] collapseToStart() assert_equals: focusN ode must equal the original start node expected Document node with 2 children bu t got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
110 " | 129 " |
111 FAIL Range 36 [document, 0, document, 2] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Document node with 2 children but go t Text node "Qrstuvwx" | 130 FAIL Range 36 [document, 0, document, 2] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Document node with 2 children but go t Text node "Qrstuvwx" |
112 FAIL Range 37 [document, 1, document, 2] collapseToStart() assert_equals: focusN ode must equal the original start node expected Document node with 2 children bu t got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 131 FAIL Range 37 [document, 1, document, 2] collapseToStart() assert_equals: focusN ode must equal the original start node expected Document node with 2 children bu t got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
113 " | 132 " |
114 FAIL Range 37 [document, 1, document, 2] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Document node with 2 children but go t Text node "Qrstuvwx" | 133 FAIL Range 37 [document, 1, document, 2] collapseToEnd() assert_equals: focusNod e must equal the original end node expected Document node with 2 children but go t Text node "Qrstuvwx" |
115 FAIL Range 38 [testDiv, 0, comment, 5] collapseToStart() assert_equals: focusNod e must equal the original start node expected Element node <div id="test"><p id= "a">Äb̈c̈d̈ëf̈g̈ḧ | 134 FAIL Range 38 [testDiv, 0, comment, 5] collapseToStart() assert_equals: focusNod e must equal the original start node expected Element node <div id="test"><p id= "a">Äb̈c̈d̈ëf̈g̈ḧ |
116 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ | 135 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
117 " | 136 " |
118 FAIL Range 38 [testDiv, 0, comment, 5] collapseToEnd() assert_equals: focusNode must equal the original end node expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 137 FAIL Range 38 [testDiv, 0, comment, 5] collapseToEnd() assert_equals: focusNode must equal the original end node expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
119 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart() | 138 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart() |
120 FAIL Range 39 [paras[2].firstChild, 4, comment, 2] collapseToEnd() assert_equals : focusNode must equal the original end node expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" | 139 FAIL Range 39 [paras[2].firstChild, 4, comment, 2] collapseToEnd() assert_equals : focusNode must equal the original end node expected Comment node <!--Alphabet soup?--> but got Text node "Qrstuvwx" |
121 FAIL Range 40 [paras[3], 1, comment, 8] collapseToStart() assert_equals: focusNo de must equal the original start node expected Element node <p id="d" style="dis play:none">Yzabcdef</p> but got Comment node <!--Alphabet soup?--> | 140 FAIL Range 40 [paras[3], 1, comment, 8] collapseToStart() assert_equals: focusNo de must equal the original start node expected Element node <p id="d" style="dis play:none">Yzabcdef</p> but got Text node "Qrstuvwx" |
122 FAIL Range 40 [paras[3], 1, comment, 8] collapseToEnd() assert_equals: anchorNod e must equal the original end node expected Comment node <!--Alphabet soup?--> b ut got Element node <p id="d" style="display:none">Yzabcdef</p> | 141 FAIL Range 40 [paras[3], 1, comment, 8] collapseToEnd() assert_equals: focusNode must equal the original end node expected Comment node <!--Alphabet soup?--> bu t got Text node "Qrstuvwx" |
123 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToStart() assert_equals: Sa nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 142 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToStart() assert_equals: Sa nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
124 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToEnd() assert_equals: Sani ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 143 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToEnd() assert_equals: Sani ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
125 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToStart() assert_equals : Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 144 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToStart() assert_equals : Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
126 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 145 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToEnd() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
127 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36] collapseToStart() assert _equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but g ot 0 | 146 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36] collapseToStart() assert _equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but g ot 0 |
128 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36] collapseToEnd() assert_e quals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 147 FAIL Range 43 [foreignDoc.body, 0, foreignTextNode, 36] collapseToEnd() assert_e quals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
129 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToStart() assert_equals: Sanity che ck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 148 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToStart() assert_equals: Sanity che ck: rangeCount must equal 1 after addRange() expected 1 but got 0 |
130 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToEnd() assert_equals: Sanity check : rangeCount must equal 1 after addRange() expected 1 but got 0 | 149 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToEnd() assert_equals: Sanity check : rangeCount must equal 1 after addRange() expected 1 but got 0 |
131 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 150 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToStart() assert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
132 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToEnd() assert_equals: Sanity c heck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 151 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToEnd() assert_equals: Sanity c heck: rangeCount must equal 1 after addRange() expected 1 but got 0 |
(...skipping 18 matching lines...) Expand all Loading... | |
151 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToStart() a ssert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 170 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToStart() a ssert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
152 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToEnd() ass ert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 bu t got 0 | 171 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToEnd() ass ert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1 bu t got 0 |
153 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToStart() assert_equals: Sanity c heck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 172 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToStart() assert_equals: Sanity c heck: rangeCount must equal 1 after addRange() expected 1 but got 0 |
154 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToEnd() assert_equals: Sanity che ck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 173 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToEnd() assert_equals: Sanity che ck: rangeCount must equal 1 after addRange() expected 1 but got 0 |
155 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToStart() assert_eq uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 174 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToStart() assert_eq uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
156 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToEnd() assert_equa ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 175 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToEnd() assert_equa ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
157 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToStart() assert_equals: Sa nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 176 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToStart() assert_equals: Sa nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
158 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToEnd() assert_equals: Sani ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 177 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToEnd() assert_equals: Sani ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
159 Harness: the test ran to completion. | 178 Harness: the test ran to completion. |
160 | 179 |
OLD | NEW |