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

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

Issue 132233059: Synchronize is-valid flag upon programmatic clearing of file.value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove redundant waitUntilDone() calls Created 6 years, 10 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 unified diff | Download patch
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: 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.. 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 programmatically 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
« no previous file with comments | « LayoutTests/fast/forms/file/file-setrangetext-expected.txt ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698