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

Side by Side Diff: LayoutTests/fast/forms/file/input-file-value-expected.txt

Issue 84693008: Improve HTMLInputElement exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | Annotate | Revision Log
OLDNEW
1 This tests the value attribute in file input forms 1 This tests the value attribute in file input forms
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS file.value is "C:\\fakepath\\foo.txt" 6 PASS file.value is "C:\\fakepath\\foo.txt"
7 PASS file.files.length is 1 7 PASS file.files.length is 1
8 PASS file.value = 'foo' threw exception InvalidStateError: An attempt was made t o use an object that is not, or is no longer, usable.. 8 PASS file.value = 'foo' threw exception InvalidStateError: Failed to set the 'va lue' property on 'HTMLInputElement': This input element accepts a filename, whic h may only be programatically set to the empty string..
9 PASS file.value is "C:\\fakepath\\foo.txt" 9 PASS file.value is "C:\\fakepath\\foo.txt"
10 PASS file.files.length is 1 10 PASS file.files.length is 1
11 PASS file.value is "" 11 PASS file.value is ""
12 PASS file.files.length is 0 12 PASS file.files.length is 0
13 PASS successfullyParsed is true 13 PASS successfullyParsed is true
14 14
15 TEST COMPLETE 15 TEST COMPLETE
16 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698