commit-queue@webkit.org | 684fac8 | 2013-04-10 17:13:40 +0000 | [diff] [blame] | 1 | Test escaping of filename passed to FormData.append(). |
| 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | |
| 5 | |
| 6 | Sending FormData containing blob with plain filename and MIME type: |
| 7 | file=no-tricks.txt:text/plain:1234567890 |
| 8 | PASS window.response is 'file=no-tricks.txt:text/plain:1234567890' |
| 9 | Sending FormData containing Blob with quote in filename: |
| 10 | file=has%22quote.txt:text/plain:1234567890 |
| 11 | PASS response is 'file=has%22quote.txt:text/plain:1234567890' |
| 12 | Sending FormData containing Blob with LF in filename: |
| 13 | file=has%0Alf.txt:text/plain:1234567890 |
| 14 | PASS response is 'file=has%0Alf.txt:text/plain:1234567890' |
| 15 | Sending FormData containing Blob with CR in filename: |
| 16 | file=has%0Dcr.txt:text/plain:1234567890 |
| 17 | PASS response is 'file=has%0Dcr.txt:text/plain:1234567890' |
| 18 | Sending FormData containing Blob with CR LF and " in filename: |
| 19 | file=has%0D%0Acrlf%22andquote.txt:text/plain:1234567890 |
| 20 | PASS response is 'file=has%0D%0Acrlf%22andquote.txt:text/plain:1234567890' |
| 21 | PASS successfullyParsed is true |
| 22 | |
| 23 | TEST COMPLETE |
| 24 | |