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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/selection/addRange-36-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 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: modifying the Selection's last Range must modify the first added Ra nge 3684 PASS Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: modifying the Selection's last Range must modify the first added Ra nge
3684 PASS Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must not throw exceptions or modify the range it' s given 3685 PASS Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must not throw exceptions or modify the range it' s given
3685 PASS Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must result in rangeCount being 1 3686 PASS Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must result in rangeCount being 1
3686 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must result in the selection's last range having the specified endpoints assert_equals: startContainer of the Selection's last Ra nge must match the added Range expected DocumentFragment node with 0 children bu t got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3687 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must result in the selection's last range having the specified endpoints assert_equals: startContainer of the Selection's last Ra nge must match the added Range expected DocumentFragment node with 0 children bu t got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3687 " 3688 "
3688 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must result in the selection's last range being t he same object we added assert_equals: getRangeAt(rangeCount - 1) must return th e same object we added expected object "" but got object "" 3689 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: second addRange() must result in the selection's last range being t he same object we added assert_equals: getRangeAt(rangeCount - 1) must return th e same object we added expected object "" but got object ""
3689 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: modifying the second added range must modify the Selection's last R ange assert_equals: After mutating the second added Range, startOffset of the Se lection's last Range must match the added Range expected 0 but got 6 3690 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: modifying the second added range must modify the Selection's last R ange assert_equals: After mutating the second added Range, startOffset of the Se lection's last Range must match the added Range expected 0 but got 6
3690 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: modifying the Selection's last Range must modify the second added R ange assert_equals: After second addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range exp ected 0 but got 6 3691 FAIL Range 39 [paras[3], 1, comment, 8] followed by Range 57 [xmlDocfrag, 0, xml Docfrag, 0]: modifying the Selection's last Range must modify the second added R ange assert_equals: After second addRange(), after mutating the Selection's last Range, startOffset of the Selection's last Range must match the added Range exp ected 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