node
node copied to clipboard
stream: handle a pending BYOB pull request from a released reader
In order to meet the specification, this includes the followings:
- Adding the 'release steps' to
ReadableStreamController
- Responding to a current read request through a pull request from a released reader
Refs: https://streams.spec.whatwg.org/#abstract-opdef-readablebytestreamcontroller-releasesteps Refs: https://streams.spec.whatwg.org/#readable-byte-stream-controller-respond-in-readable-state (Step 3)
Signed-off-by: Daeyeon Jeong [email protected]
/cc @nodejs/whatwg-stream
CI: https://ci.nodejs.org/job/node-test-pull-request/46650/
Landed in e213deabe5e513e996bf6c2d7028ed049baab41b
Could you please backport this to v16.x? The test/wpt/status/streams.json
file is complaining about this in the v16.x release branch.
Sure. I plan to open a PR that contains all commits related to test/wpt/status/streams.json
.