blob: 29cd38e7f6c2cc1964047f4b1738373595a3c8f1 [file] [log] [blame]
OPEN FILE PANEL
OPEN FILE PANEL
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 = "foo" threw exception TypeError: The HTMLInputElement.files attribute must be an instance of 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 "foo.txt"
PASS file1.files.length is 1
PASS file1.files.item(0).name is "bar.txt"
PASS successfullyParsed is true
TEST COMPLETE