mirror of
https://github.com/servo/servo.git
synced 2025-10-17 16:59:27 +01:00
Update web-platform-tests to revision b'02400d32d48521baa38663fe8601779994fcfb78'
This commit is contained in:
parent
bc8cea2495
commit
f0bb7a6f9c
483 changed files with 12767 additions and 2644 deletions
|
@ -39,4 +39,16 @@ async_test(function(testCase) {
|
|||
testCase.done();
|
||||
});
|
||||
reader.readAsDataURL(blob);
|
||||
}, 'readAsDataURL result for Blob with unspecified MIME type');
|
||||
}, 'readAsDataURL result for Blob with unspecified MIME type');
|
||||
|
||||
async_test(function(testCase) {
|
||||
var blob = new Blob([]);
|
||||
var reader = new FileReader();
|
||||
|
||||
reader.onload = this.step_func(function() {
|
||||
assert_equals(reader.result,
|
||||
"data:application/octet-stream;base64,");
|
||||
testCase.done();
|
||||
});
|
||||
reader.readAsDataURL(blob);
|
||||
}, 'readAsDataURL result for empty Blob');
|
Loading…
Add table
Add a link
Reference in a new issue