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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/selection/addRange-20-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.
11 CONSOLE ERROR: line 7: The given range isn't in document. 11 CONSOLE ERROR: line 7: The given range isn't in document.
12 CONSOLE ERROR: line 7: The given range isn't in document. 12 CONSOLE ERROR: line 7: The given range isn't in document.
13 CONSOLE ERROR: line 7: The given range isn't in document. 13 CONSOLE ERROR: line 7: The given range isn't in document.
14 CONSOLE ERROR: line 7: The given range isn't in document. 14 CONSOLE ERROR: line 7: The given range isn't in document.
15 CONSOLE ERROR: line 7: The given range isn't in document. 15 CONSOLE ERROR: line 7: The given range isn't in document.
16 CONSOLE ERROR: line 7: The given range isn't in document. 16 CONSOLE ERROR: line 7: The given range isn't in document.
17 CONSOLE ERROR: line 7: The given range isn't in document. 17 CONSOLE ERROR: line 7: The given range isn't in document.
18 CONSOLE ERROR: line 7: The given range isn't in document. 18 CONSOLE ERROR: line 7: The given range isn't in document.
19 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 19 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
20 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 20 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
21 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.
21 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 22 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
22 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 23 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
23 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 24 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
24 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 25 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
25 CONSOLE ERROR: line 7: The given range isn't in document. 26 CONSOLE ERROR: line 7: The given range isn't in document.
26 CONSOLE ERROR: line 7: The given range isn't in document. 27 CONSOLE ERROR: line 7: The given range isn't in document.
27 CONSOLE ERROR: line 7: The given range isn't in document. 28 CONSOLE ERROR: line 7: The given range isn't in document.
28 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 29 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
29 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 30 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
30 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 31 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
(...skipping 3218 matching lines...) Expand 10 before | Expand all | Expand 10 after
3249 PASS Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the Selection's last Range must modify the first added R ange 3250 PASS Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the Selection's last Range must modify the first added R ange
3250 PASS Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must not throw exceptions or modify the range it 's given 3251 PASS Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must not throw exceptions or modify the range it 's given
3251 PASS Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in rangeCount being 1 3252 PASS Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in rangeCount being 1
3252 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in the selection's last range having the specified endpoints assert_equals: startContainer of the Selection's last R ange must match the added Range expected DocumentFragment node with 0 children b ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3253 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in the selection's last range having the specified endpoints assert_equals: startContainer of the Selection's last R ange must match the added Range expected DocumentFragment node with 0 children b ut got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3253 " 3254 "
3254 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in the selection's last range being the same object we added assert_equals: getRangeAt(rangeCount - 1) must return t he same object we added expected object "" but got object "" 3255 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in the selection's last range being the same object we added assert_equals: getRangeAt(rangeCount - 1) must return t he same object we added expected object "" but got object ""
3255 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the second added range must modify the Selection's last Range assert_equals: After mutating the second added Range, startOffset of the S election's last Range must match the added Range expected 0 but got 6 3256 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the second added range must modify the Selection's last Range assert_equals: After mutating the second added Range, startOffset of the S election's last Range must match the added Range expected 0 but got 6
3256 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the Selection's last Range must modify the second added Range assert_equals: After second addRange(), after mutating the Selection's las t Range, startOffset of the Selection's last Range must match the added Range ex pected 0 but got 6 3257 FAIL Range 23 [paras[0], 0, paras[0], 1] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the Selection's last Range must modify the second added Range assert_equals: After second addRange(), after mutating the Selection's las t Range, startOffset of the Selection's last Range must match the added Range ex pected 0 but got 6
3257 Harness: the test ran to completion. 3258 Harness: the test ran to completion.
3258 3259
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698