blob: 955a50988531b899cfac53f6c6875efe6e559ac5 [file] [log] [blame]
CONSOLE WARNING: line 41: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
Test for sending FormData via XMLHttpRequest.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Sending FormData containing one string with empty name:
Sending FormData containing one file with empty name:
Sending FormData containing one string:
string=foo
Sending FormData containing one file:
file=file-for-drag-to-send.txt:text/plain:1234567890
Sending FormData containing one string and one file:
string1=foo&file1=file-for-drag-to-send.txt:text/plain:1234567890
Sending FormData containing two strings and two files:
string1=foo&string2=bar&file1=file-for-drag-to-send.txt:text/plain:1234567890&file2=file-for-drag-to-send.txt:text/plain:1234567890
PASS successfullyParsed is true
TEST COMPLETE