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

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

Issue 2704443005: Selection API: Show a deprecation message for a quirky addRange() behavior. (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 7: The given range isn't in document. 1 CONSOLE ERROR: line 7: The given range isn't in document.
2 CONSOLE ERROR: line 7: The given range isn't in document. 2 CONSOLE ERROR: line 7: The given range isn't in document.
3 CONSOLE ERROR: line 7: The given range isn't in document. 3 CONSOLE ERROR: line 7: The given range isn't in document.
4 CONSOLE ERROR: line 7: The given range isn't in document. 4 CONSOLE ERROR: line 7: The given range isn't in document.
5 CONSOLE ERROR: line 7: The given range isn't in document. 5 CONSOLE ERROR: line 7: The given range isn't in document.
6 CONSOLE ERROR: line 7: The given range isn't in document. 6 CONSOLE ERROR: line 7: The given range isn't in document.
7 CONSOLE ERROR: line 7: The given range isn't in document. 7 CONSOLE ERROR: line 7: The given range isn't in document.
8 CONSOLE ERROR: line 7: The given range isn't in document. 8 CONSOLE ERROR: line 7: The given range isn't in document.
9 CONSOLE ERROR: line 7: The given range isn't in document. 9 CONSOLE ERROR: line 7: The given range isn't in document.
10 CONSOLE ERROR: line 7: The given range isn't in document. 10 CONSOLE ERROR: line 7: The given range isn't in document.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 CONSOLE ERROR: line 7: The given range isn't in document. 127 CONSOLE ERROR: line 7: The given range isn't in document.
128 CONSOLE ERROR: line 7: The given range isn't in document. 128 CONSOLE ERROR: line 7: The given range isn't in document.
129 CONSOLE ERROR: line 7: The given range isn't in document. 129 CONSOLE ERROR: line 7: The given range isn't in document.
130 CONSOLE ERROR: line 7: The given range isn't in document. 130 CONSOLE ERROR: line 7: The given range isn't in document.
131 CONSOLE ERROR: line 7: The given range isn't in document. 131 CONSOLE ERROR: line 7: The given range isn't in document.
132 CONSOLE ERROR: line 7: The given range isn't in document. 132 CONSOLE ERROR: line 7: The given range isn't in document.
133 CONSOLE ERROR: line 7: The given range isn't in document. 133 CONSOLE ERROR: line 7: The given range isn't in document.
134 CONSOLE ERROR: line 7: The given range isn't in document. 134 CONSOLE ERROR: line 7: The given range isn't in document.
135 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 135 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
136 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 136 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
137 CONSOLE WARNING: line 7: The behavior that Selection.addRange() merges existing Range and the specified Range is deprecated and will be removed in M58, around A pril 2017. See https://www.chromestatus.com/features/6680566019653632 for more d etails.
137 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 138 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
138 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 139 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
139 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 140 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
140 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 141 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
141 CONSOLE ERROR: line 7: The given range isn't in document. 142 CONSOLE ERROR: line 7: The given range isn't in document.
142 CONSOLE ERROR: line 7: The given range isn't in document. 143 CONSOLE ERROR: line 7: The given range isn't in document.
143 CONSOLE ERROR: line 7: The given range isn't in document. 144 CONSOLE ERROR: line 7: The given range isn't in document.
144 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 145 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
145 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 146 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
146 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 147 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
(...skipping 3218 matching lines...) Expand 10 before | Expand all | Expand 10 after
3365 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mo dify the first added Range 3366 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mo dify the first added Range
3366 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must not throw exceptions or modify the range it's given 3367 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must not throw exceptions or modify the range it's given
3367 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in rangeCount being 1 3368 PASS Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in rangeCount being 1
3368 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selecti on's last range having the specified endpoints assert_equals: startContainer of the Selection's last Range must match the added Range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3369 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selecti on's last range having the specified endpoints assert_equals: startContainer of the Selection's last Range must match the added Range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3369 " 3370 "
3370 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selecti on's last range being the same object we added assert_equals: getRangeAt(rangeCo unt - 1) must return the same object we added expected object "" but got object "" 3371 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selecti on's last range being the same object we added assert_equals: getRangeAt(rangeCo unt - 1) must return the same object we added expected object "" but got object ""
3371 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the second added range must modify the Selection's last Range assert_equals: After mutating the second added Range , startOffset of the Selection's last Range must match the added Range expected 0 but got 6 3372 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the second added range must modify the Selection's last Range assert_equals: After mutating the second added Range , startOffset of the Selection's last Range must match the added Range expected 0 but got 6
3372 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mo dify the second added Range assert_equals: After second addRange(), after mutati ng the Selection's last Range, startOffset of the Selection's last Range must ma tch the added Range expected 0 but got 6 3373 FAIL Range 27 [paras[0].firstChild, 0, paras[1].firstChild, 8] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mo dify the second added Range assert_equals: After second addRange(), after mutati ng the Selection's last Range, startOffset of the Selection's last Range must ma tch the added Range expected 0 but got 6
3373 Harness: the test ran to completion. 3374 Harness: the test ran to completion.
3374 3375
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698