Update web-platform-tests to revision b'02400d32d48521baa38663fe8601779994fcfb78'

This commit is contained in:
WPT Sync Bot 2023-05-21 01:35:12 +00:00
parent bc8cea2495
commit f0bb7a6f9c
483 changed files with 12767 additions and 2644 deletions

View file

@ -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');