| 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 Found 118 tests; 58 PASS, 60 FAIL, 0 TIMEOUT, 0 NOTRUN. | 20 Found 118 tests; 12 PASS, 106 FAIL, 0 TIMEOUT, 0 NOTRUN. |
| 21 PASS Range 0 [] collapseToStart() | 21 PASS Range 0 [] collapseToStart() |
| 22 PASS Range 0 [] collapseToEnd() | 22 PASS Range 0 [] collapseToEnd() |
| 23 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToStart() | 23 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToStart() |
| 24 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToEnd() | 24 PASS Range 1 [paras[0].firstChild, 0, paras[0].firstChild, 0] collapseToEnd() |
| 25 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToStart() | 25 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToStart() |
| 26 PASS Range 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToEnd() | 26 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 |
| 27 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToStart() | 27 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToStart() |
| 28 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToEnd() | 28 PASS Range 3 [paras[0].firstChild, 2, paras[0].firstChild, 8] collapseToEnd() |
| 29 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToStart() | 29 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToStart() |
| 30 PASS Range 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToEnd() | 30 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 |
| 31 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToStart() | 31 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 |
| 32 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToEnd() | 32 " but got Text node "Qrstuvwx" |
| 33 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToStart() | 33 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 |
| 34 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToEnd() | 34 " but got Text node "Qrstuvwx" |
| 35 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToStart() | 35 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 |
| 36 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToEnd() | 36 " but got Text node "Qrstuvwx" |
| 37 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToStart() | 37 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 |
| 38 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToEnd() | 38 " but got Text node "Qrstuvwx" |
| 39 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 |
| 40 " but got Text node "Qrstuvwx" |
| 41 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 |
| 42 " but got Text node "Qrstuvwx" |
| 43 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 |
| 44 " but got Text node "Qrstuvwx" |
| 45 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 |
| 46 " but got Text node "Qrstuvwx" |
| 39 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 | 47 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 |
| 40 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 | 48 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 |
| 41 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 | 49 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 |
| 42 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 | 50 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 |
| 43 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 | 51 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 |
| 44 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 | 52 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 |
| 45 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 | 53 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 |
| 46 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 | 54 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 |
| 47 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 | 55 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 |
| 48 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 | 56 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 |
| 49 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 | 57 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 |
| 50 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 | 58 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 |
| 51 PASS Range 15 [document.documentElement, 0, document.documentElement, 1] collaps
eToStart() | 59 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̈ḧ |
| 52 PASS Range 15 [document.documentElement, 0, document.documentElement, 1] collaps
eToEnd() | 60 " |
| 53 PASS Range 16 [document.documentElement, 0, document.documentElement, 2] collaps
eToStart() | 61 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̈ḧ |
| 54 PASS Range 16 [document.documentElement, 0, document.documentElement, 2] collaps
eToEnd() | 62 " |
| 55 PASS Range 17 [document.documentElement, 1, document.documentElement, 2] collaps
eToStart() | 63 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̈ḧ |
| 56 PASS Range 17 [document.documentElement, 1, document.documentElement, 2] collaps
eToEnd() | 64 " |
| 57 PASS Range 18 [document.head, 1, document.head, 1] collapseToStart() | 65 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" |
| 58 PASS Range 18 [document.head, 1, document.head, 1] collapseToEnd() | 66 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̈ḧ |
| 59 PASS Range 19 [document.body, 0, document.body, 1] collapseToStart() | 67 " |
| 60 PASS Range 19 [document.body, 0, document.body, 1] collapseToEnd() | 68 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" |
| 69 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̈ḧ |
| 70 " |
| 71 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
̈ḧ |
| 72 " |
| 73 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̈ḧ |
| 74 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 75 " |
| 76 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̈ḧ |
| 77 </p><p id... but got Text node "Qrstuvwx" |
| 61 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 | 78 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 |
| 62 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 | 79 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 |
| 63 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 | 80 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 |
| 64 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 | 81 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 |
| 65 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 | 82 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 |
| 66 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 | 83 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 |
| 67 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToStart() | 84 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̈ḧ |
| 68 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToEnd() | 85 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 69 PASS Range 24 [paras[0], 0, paras[0], 1] collapseToStart() | 86 " |
| 70 PASS Range 24 [paras[0], 0, paras[0], 1] collapseToEnd() | 87 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
̈ḧ |
| 88 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 89 " |
| 90 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̈ḧ |
| 91 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 92 " |
| 93 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
̈ḧ |
| 94 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 95 " |
| 71 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToStart() assert_equa
ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 96 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToStart() assert_equa
ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 72 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToEnd() assert_equals
: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 97 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToEnd() assert_equals
: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 73 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToStart() assert_equa
ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 98 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToStart() assert_equa
ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 74 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToEnd() assert_equals
: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 99 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToEnd() assert_equals
: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 75 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
| 100 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
|
| 76 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToEnd() | 101 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 |
| 102 " but got Text node "Qrstuvwx" |
| 77 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart()
| 103 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart()
|
| 78 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToEnd() | 104 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 |
| 79 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToStart() | 105 " but got Text node "Qrstuvwx" |
| 80 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToEnd() | 106 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 |
| 81 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToStart() | 107 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" |
| 82 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToEnd() | 108 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̈ḧ |
| 83 PASS Range 31 [testDiv, 2, paras[4], 1] collapseToStart() | 109 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 84 PASS Range 31 [testDiv, 2, paras[4], 1] collapseToEnd() | 110 " |
| 85 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToStart() | 111 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 |
| 112 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̈ḧ |
| 113 </p><p id="b" s... but got Text node "Qrstuvwx" |
| 114 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" |
| 115 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̈ḧ |
| 116 </p><p id="b" s... but got Text node "Qrstuvwx" |
| 86 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd() | 117 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd() |
| 87 PASS Range 33 [document.documentElement, 1, document.body, 0] collapseToStart() | 118 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̈ḧ |
| 88 PASS Range 33 [document.documentElement, 1, document.body, 0] collapseToEnd() | 119 " |
| 120 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̈ḧ |
| 121 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 122 " |
| 89 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 | 123 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 |
| 90 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 | 124 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 |
| 91 PASS Range 35 [document, 0, document, 1] collapseToStart() | 125 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̈ḧ |
| 92 PASS Range 35 [document, 0, document, 1] collapseToEnd() | 126 " |
| 93 PASS Range 36 [document, 0, document, 2] collapseToStart() | 127 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̈ḧ |
| 94 PASS Range 36 [document, 0, document, 2] collapseToEnd() | 128 " |
| 95 PASS Range 37 [document, 1, document, 2] collapseToStart() | 129 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̈ḧ |
| 96 PASS Range 37 [document, 1, document, 2] collapseToEnd() | 130 " |
| 97 PASS Range 38 [testDiv, 0, comment, 5] collapseToStart() | 131 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" |
| 98 PASS Range 38 [testDiv, 0, comment, 5] collapseToEnd() | 132 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̈ḧ |
| 133 " |
| 134 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" |
| 135 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̈ḧ |
| 136 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ |
| 137 " |
| 138 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" |
| 99 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart() | 139 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart() |
| 100 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToEnd() | 140 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" |
| 101 PASS Range 40 [paras[3], 1, comment, 8] collapseToStart() | 141 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" |
| 102 PASS Range 40 [paras[3], 1, comment, 8] collapseToEnd() | 142 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" |
| 103 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToStart() assert_equals: Sa
nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 143 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToStart() assert_equals: Sa
nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 104 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToEnd() assert_equals: Sani
ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 144 FAIL Range 41 [foreignDoc, 0, foreignDoc, 0] collapseToEnd() assert_equals: Sani
ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 105 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToStart() assert_equals
: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 145 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToStart() assert_equals
: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 106 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToEnd() assert_equals:
Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 146 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToEnd() assert_equals:
Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 107 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 | 147 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 |
| 108 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 | 148 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 |
| 109 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToStart() assert_equals: Sanity che
ck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 149 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToStart() assert_equals: Sanity che
ck: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 110 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToEnd() assert_equals: Sanity check
: rangeCount must equal 1 after addRange() expected 1 but got 0 | 150 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToEnd() assert_equals: Sanity check
: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 111 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToStart() assert_equals: Sanity
check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 151 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToStart() assert_equals: Sanity
check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 112 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToEnd() assert_equals: Sanity c
heck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 152 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... |
| 131 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToStart() a
ssert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1
but got 0 | 171 FAIL Range 55 [detachedXmlComment, 2, detachedXmlComment, 6] collapseToStart() a
ssert_equals: Sanity check: rangeCount must equal 1 after addRange() expected 1
but got 0 |
| 132 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 | 172 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 |
| 133 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToStart() assert_equals: Sanity c
heck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 173 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToStart() assert_equals: Sanity c
heck: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 134 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToEnd() assert_equals: Sanity che
ck: rangeCount must equal 1 after addRange() expected 1 but got 0 | 174 FAIL Range 56 [docfrag, 0, docfrag, 0] collapseToEnd() assert_equals: Sanity che
ck: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 135 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToStart() assert_eq
uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got
0 | 175 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToStart() assert_eq
uals: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got
0 |
| 136 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToEnd() assert_equa
ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 176 FAIL Range 57 [foreignDocfrag, 0, foreignDocfrag, 0] collapseToEnd() assert_equa
ls: Sanity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 137 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToStart() assert_equals: Sa
nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 177 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToStart() assert_equals: Sa
nity check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 138 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToEnd() assert_equals: Sani
ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 | 178 FAIL Range 58 [xmlDocfrag, 0, xmlDocfrag, 0] collapseToEnd() assert_equals: Sani
ty check: rangeCount must equal 1 after addRange() expected 1 but got 0 |
| 139 Harness: the test ran to completion. | 179 Harness: the test ran to completion. |
| 140 | 180 |
| OLD | NEW |