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

Unified Diff: LayoutTests/fast/forms/file/file-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/file/file-setrangetext-expected.txt
diff --git a/LayoutTests/fast/forms/file/file-setrangetext-expected.txt b/LayoutTests/fast/forms/file/file-setrangetext-expected.txt
index 384fa647e2f11a32dea2f864ff504a93fe6167df..577f0a345818f6fef1f1c390e9228863ac44ab2a 100644
--- a/LayoutTests/fast/forms/file/file-setrangetext-expected.txt
+++ b/LayoutTests/fast/forms/file/file-setrangetext-expected.txt
@@ -6,8 +6,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Running tests on input with attributes: {"type":"file"}
-PASS element.value = '0123456789XYZ' 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: An attempt was made to use an object that is not, or is no longer, usable..
+PASS element.value = '0123456789XYZ' threw exception InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programatically set to the empty string..
+PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('file') does not support selection..
PASS element.value is ""
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698