mirror of
https://github.com/servo/servo.git
synced 2025-10-17 08:49:21 +01:00
Update web-platform-tests to revision ac16628eb7eb601957382053011363d2bcf8ce44
This commit is contained in:
parent
ea7e753cea
commit
7e7c8873e4
4408 changed files with 664787 additions and 857286 deletions
|
@ -127,8 +127,8 @@ directory_test(async (t, root) => {
|
|||
const promise = body.pipeTo(wfs, { signal });
|
||||
await abortController.abort();
|
||||
|
||||
await promise_rejects(t, 'AbortError', promise, 'stream is aborted');
|
||||
await promise_rejects(t, TypeError(), wfs.close(), 'stream cannot be closed to flush writes');
|
||||
await promise_rejects_dom(t, 'AbortError', promise, 'stream is aborted');
|
||||
await promise_rejects_js(t, TypeError, wfs.close(), 'stream cannot be closed to flush writes');
|
||||
|
||||
assert_equals(await getFileContents(handle), '');
|
||||
assert_equals(await getFileSize(handle), 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue