| 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 that passing bad strings to FormData.append() throws and aborts properly. | 2 Test that passing bad strings to FormData.append() throws and aborts properly. |
| 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 PASS formData.append(badString, 'test') threw exception Exception in toString(). | 7 PASS formData.append(badString, 'test') threw exception Exception in toString(). |
| 7 PASS formData.append('textarea', badString) threw exception Exception in toStrin
g(). | 8 PASS formData.append('textarea', badString) threw exception Exception in toStrin
g(). |
| 8 PASS formData.append('blob', new Blob(['']), badString) threw exception Exceptio
n in toString(). | 9 PASS formData.append('blob', new Blob(['']), badString) threw exception Exceptio
n in toString(). |
| 9 PASS xhr.response.indexOf('test') is -1 | 10 PASS xhr.response.indexOf('test') is -1 |
| 10 PASS xhr.response.indexOf('textarea') is -1 | 11 PASS xhr.response.indexOf('textarea') is -1 |
| 11 PASS xhr.response.indexOf('blob') is -1 | 12 PASS xhr.response.indexOf('blob') is -1 |
| 12 PASS successfullyParsed is true | 13 PASS successfullyParsed is true |
| 13 | 14 |
| 14 TEST COMPLETE | 15 TEST COMPLETE |
| 15 | 16 |
| OLD | NEW |