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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/selection/addRange-32-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: Discontiguous selection is not supported. 1 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
2 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 2 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
3 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.
4 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
5 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
3 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 6 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
4 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
5 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
6 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 7 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
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: Discontiguous selection is not supported. 11 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
11 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 12 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
12 CONSOLE ERROR: line 7: Discontiguous selection is not supported. 13 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
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: Discontiguous selection is not supported. 16 CONSOLE ERROR: line 7: Discontiguous selection is not supported.
(...skipping 3450 matching lines...) Expand 10 before | Expand all | Expand 10 after
3466 PASS Range 35 [document, 0, document, 2] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the Selection's last Range must modify the first added R ange 3467 PASS Range 35 [document, 0, document, 2] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: modifying the Selection's last Range must modify the first added R ange
3467 PASS Range 35 [document, 0, document, 2] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must not throw exceptions or modify the range it 's given 3468 PASS Range 35 [document, 0, document, 2] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must not throw exceptions or modify the range it 's given
3468 PASS Range 35 [document, 0, document, 2] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in rangeCount being 1 3469 PASS Range 35 [document, 0, document, 2] followed by Range 57 [xmlDocfrag, 0, xm lDocfrag, 0]: second addRange() must result in rangeCount being 1
3469 FAIL Range 35 [document, 0, document, 2] 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̈ḧ 3470 FAIL Range 35 [document, 0, document, 2] 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̈ḧ
3470 " 3471 "
3471 FAIL Range 35 [document, 0, document, 2] 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 "" 3472 FAIL Range 35 [document, 0, document, 2] 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 ""
3472 FAIL Range 35 [document, 0, document, 2] 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 3473 FAIL Range 35 [document, 0, document, 2] 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
3473 FAIL Range 35 [document, 0, document, 2] 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 3474 FAIL Range 35 [document, 0, document, 2] 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
3474 Harness: the test ran to completion. 3475 Harness: the test ran to completion.
3475 3476
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698