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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/selection/addRange-28-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 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the fir st added Range 3684 PASS Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the fir st added Range
3684 PASS Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must not throw exceptions or modify th e range it's given 3685 PASS Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must not throw exceptions or modify th e range it's given
3685 PASS Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must result in rangeCount being 1 3686 PASS Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must result in rangeCount being 1
3686 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must result in the selection's last ra nge having the specified endpoints assert_equals: startContainer of the Selectio n's last Range must match the added Range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ 3687 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must result in the selection's last ra nge having the specified endpoints assert_equals: startContainer of the Selectio n's last Range must match the added Range expected DocumentFragment node with 0 children but got Text node "Äb̈c̈d̈ëf̈g̈ḧ
3687 " 3688 "
3688 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must result in the selection's last ra nge being the same object we added assert_equals: getRangeAt(rangeCount - 1) mus t return the same object we added expected object "" but got object "" 3689 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: second addRange() must result in the selection's last ra nge being the same object we added assert_equals: getRangeAt(rangeCount - 1) mus t return the same object we added expected object "" but got object ""
3689 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: modifying the second added range must modify the Selecti on's last Range assert_equals: After mutating the second added Range, startOffse t of the Selection's last Range must match the added Range expected 0 but got 6 3690 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: modifying the second added range must modify the Selecti on's last Range assert_equals: After mutating the second added Range, startOffse t of the Selection's last Range must match the added Range expected 0 but got 6
3690 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the sec ond added Range assert_equals: After second addRange(), after mutating the Selec tion's last Range, startOffset of the Selection's last Range must match the adde d Range expected 0 but got 6 3691 FAIL Range 31 [testDiv, 1, paras[2].firstChild, 5] followed by Range 57 [xmlDocf rag, 0, xmlDocfrag, 0]: modifying the Selection's last Range must modify the sec ond added Range assert_equals: After second addRange(), after mutating the Selec tion's last Range, startOffset of the Selection's last Range must match the adde d 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