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

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

Issue 2694043004: Selection API: anchorNode, anchorOffset, focusNode, focusOffset, isCollapsed, and type should be ba… (Closed)
Patch Set: . 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 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 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 30 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
31 " but got Text node "Qrstuvwx" 31 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToEnd()
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 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
33 " but got Text node "Qrstuvwx" 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
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 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
35 " but got Text node "Qrstuvwx" 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
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 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
37 " but got Text node "Qrstuvwx" 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
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"
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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̈ḧ 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
59 " 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
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 "
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̈ḧ 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̈ḧ
63 " 53 "
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" 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"
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̈ḧ 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̈ḧ
66 " 56 "
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" 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"
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̈ḧ 58 PASS Range 18 [document.head, 1, document.head, 1] collapseToStart()
69 " 59 PASS Range 18 [document.head, 1, document.head, 1] collapseToEnd()
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 "
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̈ḧ 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̈ḧ
73 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 61 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
74 " 62 "
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̈ḧ 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̈ḧ
76 </p><p id... but got Text node "Qrstuvwx" 64 </p><p id... but got Text node "Qrstuvwx"
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 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
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 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
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 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
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 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
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 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
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 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
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̈ḧ 71 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToStart()
84 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 72 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToEnd()
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 "
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̈ḧ 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̈ḧ
90 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 74 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
91 " 75 "
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 ̈ḧ 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 ̈ḧ
93 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 77 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
94 " 78 "
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 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
96 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToEnd() assert_equals : 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
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 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
98 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToEnd() assert_equals : 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
99 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart() 83 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
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 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
101 " but got Text node "Qrstuvwx" 85 " but got Text node "Qrstuvwx"
102 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart() 86 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart()
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 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
104 " but got Text node "Qrstuvwx" 88 " but got Text node "Qrstuvwx"
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 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
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" 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"
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̈ḧ 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̈ḧ
108 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 92 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
109 " 93 "
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 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
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̈ḧ 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̈ḧ
112 </p><p id="b" s... but got Text node "Qrstuvwx" 96 </p><p id="b" s... 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" 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"
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̈ḧ 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̈ḧ
115 </p><p id="b" s... but got Text node "Qrstuvwx" 99 </p><p id="b" s... but got Text node "Qrstuvwx"
116 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd() 100 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd()
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̈ḧ 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̈ḧ
118 " 102 </p><p id...
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̈ḧ 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̈ḧ
120 </p><p id... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 104 </p><p id... but got Element node <html><head><title>Selection.collapseTo(Start| End)() test...
121 "
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 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
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 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
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̈ḧ 107 FAIL Range 35 [document, 0, document, 1] collapseToStart() assert_equals: focusO ffset must equal the original start offset expected 0 but got 1
125 " 108 FAIL Range 35 [document, 0, document, 1] collapseToEnd() assert_equals: anchorOf fset must equal the original end offset expected 1 but got 0
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 "
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̈ḧ 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̈ḧ
129 " 110 "
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" 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"
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̈ḧ 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̈ḧ
132 " 113 "
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" 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"
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̈ḧ 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̈ḧ
135 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 116 </p><p id="b" s... but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
136 " 117 "
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" 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"
138 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart() 119 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart()
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" 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"
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" 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?-->
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" 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>
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 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
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 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
144 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToStart() assert_equals : Sanity 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
145 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToEnd() 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
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 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
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 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
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 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
149 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToEnd() assert_equals: Sanity check : 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
150 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToStart() 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
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 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
(...skipping 18 matching lines...) Expand all
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
178 Harness: the test ran to completion. 159 Harness: the test ran to completion.
179 160
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698