OLD | NEW |
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 |
OLD | NEW |