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

Unified Diff: LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt

Issue 1229133004: Add SelectionMode enum for setRangeText() in HTMLInputElement and HTMLTextAreaElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix for failing tests Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/forms/setrangetext-expected.txt ('k') | Source/core/html/HTMLInputElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt
diff --git a/LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt b/LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt
index 9896cce27f059971a013ba89c8a9147c866a62fe..a729bc3d13875d18fb24b1179f6dbe64455d7300 100644
--- a/LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt
+++ b/LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt
@@ -77,10 +77,10 @@ PASS element.selectionStart is 6
PASS element.selectionEnd is 9
element.value = '0123456789'
element.setSelectionRange(6, 9)
-element.setRangeText('AB', 1, 1, 'invalid')
-PASS element.value is "0AB123456789"
-PASS element.selectionStart is 8
-PASS element.selectionEnd is 11
+PASS element.setRangeText('AB', 1, 1, 'invalid') threw exception TypeError: Failed to execute 'setRangeText' on 'HTMLTextAreaElement': The provided value 'invalid' is not a valid enum value of type SelectionMode..
+PASS element.value is "0123456789"
+PASS element.selectionStart is 6
+PASS element.selectionEnd is 9
element.value = '0123456789'
element.setSelectionRange(6, 9)
element.setRangeText('AB', 1, 1, undefined)
@@ -211,10 +211,10 @@ PASS element.selectionStart is 6
PASS element.selectionEnd is 9
element.value = '0123456789'
element.setSelectionRange(6, 9)
-element.setRangeText('AB', 1, 1, 'invalid')
-PASS element.value is "0AB123456789"
-PASS element.selectionStart is 8
-PASS element.selectionEnd is 11
+PASS element.setRangeText('AB', 1, 1, 'invalid') threw exception TypeError: Failed to execute 'setRangeText' on 'HTMLTextAreaElement': The provided value 'invalid' is not a valid enum value of type SelectionMode..
+PASS element.value is "0123456789"
+PASS element.selectionStart is 6
+PASS element.selectionEnd is 9
element.value = '0123456789'
element.setSelectionRange(6, 9)
element.setRangeText('AB', 1, 1, undefined)
« no previous file with comments | « LayoutTests/fast/forms/setrangetext-expected.txt ('k') | Source/core/html/HTMLInputElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698