| OLD | NEW |
| 1 CONSOLE WARNING: Avoid synchronous requests as it hampers user experience due to
unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni
ng. |
| 1 Test for sending FormData via XMLHttpRequest. | 2 Test for sending FormData via XMLHttpRequest. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 6 Sending FormData containing one string with empty name: | 7 Sending FormData containing one string with empty name: |
| 7 | 8 |
| 8 Sending FormData containing one file with empty name: | 9 Sending FormData containing one file with empty name: |
| 9 | 10 |
| 10 Sending FormData containing one string: | 11 Sending FormData containing one string: |
| 11 string=foo | 12 string=foo |
| 12 Sending FormData containing one file: | 13 Sending FormData containing one file: |
| 13 file=file-for-drag-to-send.txt:text/plain:1234567890 | 14 file=file-for-drag-to-send.txt:text/plain:1234567890 |
| 14 Sending FormData containing one string and one file: | 15 Sending FormData containing one string and one file: |
| 15 string1=foo&file1=file-for-drag-to-send.txt:text/plain:1234567890 | 16 string1=foo&file1=file-for-drag-to-send.txt:text/plain:1234567890 |
| 16 Sending FormData containing two strings and two files: | 17 Sending FormData containing two strings and two files: |
| 17 string1=foo&string2=bar&file1=file-for-drag-to-send.txt:text/plain:1234567890&fi
le2=file-for-drag-to-send.txt:text/plain:1234567890 | 18 string1=foo&string2=bar&file1=file-for-drag-to-send.txt:text/plain:1234567890&fi
le2=file-for-drag-to-send.txt:text/plain:1234567890 |
| 18 PASS successfullyParsed is true | 19 PASS successfullyParsed is true |
| 19 | 20 |
| 20 TEST COMPLETE | 21 TEST COMPLETE |
| 21 | 22 |
| OLD | NEW |