blob: 6e3b98b0a7b4b01b01bf7bd84eec3660e2b0aed9 [file] [log] [blame]
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': Failed to convert value to '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