18 lines
488 B
Plaintext
18 lines
488 B
Plaintext
OPEN FILE PANEL
|
|
This tests the value attribute in file input forms
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
PASS file.value is "C:\\fakepath\\foo.txt"
|
|
PASS file.files.length is 1
|
|
PASS file.value = 'foo' threw exception InvalidStateError: The object is in an invalid state..
|
|
PASS file.value is "C:\\fakepath\\foo.txt"
|
|
PASS file.files.length is 1
|
|
PASS file.value is ""
|
|
PASS file.files.length is 0
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|