Update web-platform-tests to revision 7f2f85a88f434798e9d643427b34b05fab8278c6

This commit is contained in:
Ms2ger 2016-02-01 09:19:46 +01:00
parent 6b1a08c051
commit 73bc5cf1b8
180 changed files with 5807 additions and 169 deletions

View file

@ -33,7 +33,7 @@
return fd;
}
do_test("formdata with blob", create_formdata(['key', new Blob(['value'], {type: 'text/x-value'})]), '\nkey=blob:text/x-value:5,');
do_test("formdata with blob", create_formdata(['key', new Blob(['value'], {type: 'text/x-value'})]), 'key=value,\n');
do_test("formdata with named blob", create_formdata(['key', new Blob(['value'], {type: 'text/x-value'}), 'blob.txt']), '\nkey=blob.txt:text/x-value:5,');
// If 3rd argument is given and 2nd is not a Blob, formdata.append() should throw
var test = async_test('formdata.append() should throw if value is string and file name is given'); // needs to be async just because the others above are