mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision efa05bfb3b338ef988f3ebf4523198512a248a99
This commit is contained in:
parent
26b40afe23
commit
de119adcc2
10 changed files with 445 additions and 5457 deletions
|
@ -80,8 +80,12 @@
|
|||
assert_equals(fd.get('key'), "value1");
|
||||
}, 'testFormDataSetToFormNull2');
|
||||
test(function() {
|
||||
assert_object_equals(create_formdata(['key', new Blob(), 'blank.txt']).get('key'),
|
||||
new File(new Blob(), 'blank.txt'));
|
||||
var fd = new FormData();
|
||||
fd.set('key', new Blob([]), 'blank.txt');
|
||||
var file = fd.get('key');
|
||||
|
||||
assert_true(file instanceof File);
|
||||
assert_equals(file.name, 'blank.txt');
|
||||
}, 'testFormDataSetEmptyBlob');
|
||||
|
||||
function create_formdata() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue