1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(ext/web/streams): resolve cancelPromise in ReadableStreamTee (#16266)

This commit is contained in:
Marcos Casagrande 2022-10-14 11:29:01 +02:00 committed by GitHub
parent 17271532d4
commit 50c7b89369
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -2675,7 +2675,9 @@
],
);
}
cancelPromise.resolve(undefined);
if (canceled1 === false || canceled2 === false) {
cancelPromise.resolve(undefined);
}
},
errorSteps() {
reading = false;

View file

@ -1336,8 +1336,12 @@
"patched-global.any.worker.html": true,
"reentrant-strategies.any.html": true,
"reentrant-strategies.any.worker.html": true,
"tee.any.html": false,
"tee.any.worker.html": false,
"tee.any.html": [
"ReadableStream teeing: enqueue() and close() while both branches are pulling"
],
"tee.any.worker.html": [
"ReadableStream teeing: enqueue() and close() while both branches are pulling"
],
"templated.any.html": true,
"templated.any.worker.html": true
},