Update web-platform-tests to revision ac16628eb7eb601957382053011363d2bcf8ce44

This commit is contained in:
WPT Sync Bot 2020-02-17 08:20:12 +00:00
parent ea7e753cea
commit 7e7c8873e4
4408 changed files with 664787 additions and 857286 deletions

View file

@ -6,7 +6,7 @@ function runBase64Tests(tests) {
dataURL = "data:;base64," + input;
promise_test(t => {
if(output === null) {
return promise_rejects(t, new TypeError(), fetch(dataURL));
return promise_rejects_js(t, TypeError, fetch(dataURL));
}
return fetch(dataURL).then(res => res.arrayBuffer()).then(body => {
assert_array_equals(new Uint8Array(body), output);