1 This tests the value attribute in file input forms
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS file.value is "C:\\fakepath\\foo.txt"
7 PASS file.files.length is 1
8 PASS file.value = 'foo' threw exception InvalidStateError: Failed to set the 'value' property on 'HTMLInputElement': This input element accepts a filename, which may only be programmatically set to the empty string..
9 PASS file.value is "C:\\fakepath\\foo.txt"
10 PASS file.files.length is 1
12 PASS file.files.length is 0
13 PASS successfullyParsed is true