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

Unified Diff: LayoutTests/fast/forms/image/image-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/image/image-setrangetext-expected.txt
diff --git a/LayoutTests/fast/forms/image/image-setrangetext-expected.txt b/LayoutTests/fast/forms/image/image-setrangetext-expected.txt
index fd799f38fa3395e3806ff7265ea374707b2e0d16..524475b6ab2f60e4612898c6509d339b6040c578 100644
--- a/LayoutTests/fast/forms/image/image-setrangetext-expected.txt
+++ b/LayoutTests/fast/forms/image/image-setrangetext-expected.txt
@@ -7,7 +7,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Running tests on input with attributes: {"type":"image"}
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 ('image') does not support selection..
PASS element.value is "0123456789XYZ"
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/forms/hidden/hidden-setrangetext-expected.txt ('k') | LayoutTests/fast/forms/input-maxlength.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698