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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/selection/addRange-04-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 3667 matching lines...) Expand 10 before | Expand all | Expand 10 after
3683 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mod ify the first added Range 3684 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mod ify the first added Range
3684 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must not throw exceptions o r modify the range it's given 3685 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must not throw exceptions o r modify the range it's given
3685 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in rangeCount b eing 1 3686 PASS Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in rangeCount b eing 1
3686 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selectio n's last range having the specified endpoints assert_equals: startContainer of t he Selection's last Range must match the added Range expected DocumentFragment n ode with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3687 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selectio n's last range having the specified endpoints assert_equals: startContainer of t he Selection's last Range must match the added Range expected DocumentFragment n ode with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3687 " 3688 "
3688 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selectio n's last range being the same object we added assert_equals: getRangeAt(rangeCou nt - 1) must return the same object we added expected object "" but got object " " 3689 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: second addRange() must result in the selectio n's last range being the same object we added assert_equals: getRangeAt(rangeCou nt - 1) must return the same object we added expected object "" but got object " "
3689 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] 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 3690 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] 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
3690 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mod ify the second added Range assert_equals: After second addRange(), after mutatin g the Selection's last Range, startOffset of the Selection's last Range must mat ch the added Range expected 0 but got 6 3691 FAIL Range 7 [paras[1].firstChild, 2, paras[1].firstChild, 9] followed by Range 57 [xmlDocfrag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must mod ify the second added Range assert_equals: After second addRange(), after mutatin g the Selection's last Range, startOffset of the Selection's last Range must mat ch the added Range expected 0 but got 6
3691 Harness: the test ran to completion. 3692 Harness: the test ran to completion.
3692 3693
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698