Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -7,8 +7,9 @@
// if perform_gc is true.
async function read_and_gc(reader, perform_gc) {
const read_promise = reader.read();
if (perform_gc)
garbageCollect();
if (perform_gc) {
await garbageCollect();
}
return read_promise;
}
@ -65,7 +66,7 @@ promise_test(async() => {
let blob = new Blob([typed_arr]);
const stream = blob.stream();
blob = null;
garbageCollect();
await garbageCollect();
const chunks = await read_all_chunks(stream, /*perform_gc=*/true);
assert_array_equals(chunks, input_arr);
}, "Blob.stream() garbage collection of blob shouldn't break stream" +