blob: f72248c117e7766e259761e4bcaf962cd74811f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
This tests the files attribute in file input forms
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS file1.files.length is 1
PASS file1.files = 'foo' threw exception TypeError: Failed to set the 'files' property on 'HTMLInputElement': The provided value is not of type 'FileList'..
PASS file1.files.length is 1
PASS file1.files.item(0).name is "foo.txt"
PASS file1.files.length is 1
PASS file1.files.item(0).name is "bar.txt"
PASS successfullyParsed is true
TEST COMPLETE
|