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