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

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

Issue 84693008: Improve HTMLInputElement exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
Index: LayoutTests/fast/forms/setrangetext-expected.txt
diff --git a/LayoutTests/fast/forms/setrangetext-expected.txt b/LayoutTests/fast/forms/setrangetext-expected.txt
index 04f1a49e82c4fb032b3731da82159b1ab1eaeac1..e6ac5201d8143dd7229d001ab6849015da9f0a66 100644
--- a/LayoutTests/fast/forms/setrangetext-expected.txt
+++ b/LayoutTests/fast/forms/setrangetext-expected.txt
@@ -602,37 +602,37 @@ FAIL element.value should be ABC0123456789. Was 0123456789.
Running tests on input with attributes: {"type":"button"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('button') does not support selection..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"checkbox"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('checkbox') does not support selection..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"email"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('email') does not support selection..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"radio"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('radio') does not support selection..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"reset"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('reset') does not support selection..
PASS element.value is "0123456789XYZ"
Running tests on input with attributes: {"type":"submit"}
element.value = '0123456789XYZ'
-PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('submit') does not support selection..
PASS element.value is "0123456789XYZ"
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/forms/selection-wrongtype-expected.txt ('k') | LayoutTests/fast/forms/time/time-setrangetext-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698