Skip to content

Commit

Permalink
fix(ext/web/streams): resolve cancelPromise in ReadableStreamTee (den…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosc90 authored Oct 14, 2022
1 parent 1727153 commit 50c7b89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ext/web/06_streams.js
Original file line number Diff line number Diff line change
Expand Up @@ -2675,7 +2675,9 @@
],
);
}
cancelPromise.resolve(undefined);
if (canceled1 === false || canceled2 === false) {
cancelPromise.resolve(undefined);
}
},
errorSteps() {
reading = false;
Expand Down
8 changes: 6 additions & 2 deletions tools/wpt/expectation.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 50c7b89

Please sign in to comment.