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

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

Issue 2704963002: Selection API: collapseToStart() and collapseToEnd() should recreate a Range. (Closed)
Patch Set: NeedsRebaseline for first-letter-rtc-crash.html 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 Found 118 tests; 12 PASS, 106 FAIL, 0 TIMEOUT, 0 NOTRUN. 20 Found 118 tests; 58 PASS, 60 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 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 2 [paras[0].firstChild, 0, paras[0].firstChild, 1] collapseToEnd()
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 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 4 [paras[0].firstChild, 2, paras[0].firstChild, 9] collapseToEnd()
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 31 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
32 " but got Text node "Qrstuvwx" 32 PASS Range 5 [paras[1].firstChild, 0, paras[1].firstChild, 0] collapseToEnd()
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 33 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToStart()
34 " but got Text node "Qrstuvwx" 34 PASS Range 6 [paras[1].firstChild, 0, paras[1].firstChild, 1] collapseToEnd()
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 35 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToStart()
36 " but got Text node "Qrstuvwx" 36 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 8] collapseToEnd()
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 37 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToStart()
38 " but got Text node "Qrstuvwx" 38 PASS Range 8 [paras[1].firstChild, 2, paras[1].firstChild, 9] collapseToEnd()
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"
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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̈ḧ 51 PASS Range 15 [document.documentElement, 0, document.documentElement, 1] collaps eToStart()
60 " 52 PASS Range 15 [document.documentElement, 0, document.documentElement, 1] collaps eToEnd()
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̈ḧ 53 PASS Range 16 [document.documentElement, 0, document.documentElement, 2] collaps eToStart()
62 " 54 PASS Range 16 [document.documentElement, 0, document.documentElement, 2] collaps eToEnd()
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̈ḧ 55 PASS Range 17 [document.documentElement, 1, document.documentElement, 2] collaps eToStart()
64 " 56 PASS Range 17 [document.documentElement, 1, document.documentElement, 2] collaps eToEnd()
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" 57 PASS Range 18 [document.head, 1, document.head, 1] collapseToStart()
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̈ḧ 58 PASS Range 18 [document.head, 1, document.head, 1] collapseToEnd()
67 " 59 PASS Range 19 [document.body, 0, document.body, 1] collapseToStart()
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" 60 PASS Range 19 [document.body, 0, document.body, 1] collapseToEnd()
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"
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 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
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 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
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 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
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 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
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 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
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 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
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̈ḧ 67 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToStart()
85 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 68 PASS Range 23 [paras[0], 0, paras[0], 0] collapseToEnd()
86 " 69 PASS Range 24 [paras[0], 0, paras[0], 1] collapseToStart()
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 ̈ḧ 70 PASS Range 24 [paras[0], 0, paras[0], 1] collapseToEnd()
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 "
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 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
97 FAIL Range 25 [detachedPara1, 0, detachedPara1, 0] collapseToEnd() assert_equals : 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
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 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
99 FAIL Range 26 [detachedPara1, 0, detachedPara1, 1] collapseToEnd() assert_equals : 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
100 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart() 75 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToStart()
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 76 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 0] collapseToEnd()
102 " but got Text node "Qrstuvwx"
103 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart() 77 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToStart()
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 78 PASS Range 28 [paras[0].firstChild, 0, paras[1].firstChild, 8] collapseToEnd()
105 " but got Text node "Qrstuvwx" 79 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToStart()
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 80 PASS Range 29 [paras[0].firstChild, 3, paras[3], 1] collapseToEnd()
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" 81 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToStart()
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̈ḧ 82 PASS Range 30 [paras[0], 0, paras[0].firstChild, 7] collapseToEnd()
109 </p> but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 83 PASS Range 31 [testDiv, 2, paras[4], 1] collapseToStart()
110 " 84 PASS Range 31 [testDiv, 2, paras[4], 1] collapseToEnd()
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 85 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToStart()
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"
117 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd() 86 PASS Range 32 [testDiv, 1, paras[2].firstChild, 5] collapseToEnd()
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̈ḧ 87 PASS Range 33 [document.documentElement, 1, document.body, 0] collapseToStart()
119 " 88 PASS Range 33 [document.documentElement, 1, document.body, 0] collapseToEnd()
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 "
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 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
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 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
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̈ḧ 91 PASS Range 35 [document, 0, document, 1] collapseToStart()
126 " 92 PASS Range 35 [document, 0, document, 1] collapseToEnd()
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̈ḧ 93 PASS Range 36 [document, 0, document, 2] collapseToStart()
128 " 94 PASS Range 36 [document, 0, document, 2] collapseToEnd()
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̈ḧ 95 PASS Range 37 [document, 1, document, 2] collapseToStart()
130 " 96 PASS Range 37 [document, 1, document, 2] collapseToEnd()
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" 97 PASS Range 38 [testDiv, 0, comment, 5] collapseToStart()
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̈ḧ 98 PASS Range 38 [testDiv, 0, comment, 5] collapseToEnd()
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"
139 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart() 99 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToStart()
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" 100 PASS Range 39 [paras[2].firstChild, 4, comment, 2] collapseToEnd()
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" 101 PASS Range 40 [paras[3], 1, comment, 8] collapseToStart()
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" 102 PASS Range 40 [paras[3], 1, comment, 8] collapseToEnd()
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 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
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 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
145 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToStart() assert_equals : Sanity 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
146 FAIL Range 42 [foreignDoc, 1, foreignComment, 2] collapseToEnd() 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
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 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
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 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
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 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
150 FAIL Range 44 [xmlDoc, 0, xmlDoc, 0] collapseToEnd() assert_equals: Sanity check : 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
151 FAIL Range 45 [xmlDoc, 1, xmlComment, 0] collapseToStart() 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
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 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
(...skipping 18 matching lines...) Expand all
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 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
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 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
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 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
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 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
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 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
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 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
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 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
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 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
179 Harness: the test ran to completion. 139 Harness: the test ran to completion.
180 140
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698