Re: [whatwg/streams] Release reader immediately when shutting down a pipe (PR #1208)

@MattiasBuelens pushed 19 commits.

fa6a81508f2133dba9dd909f16093fe998afae80  Release reader immediately when shutting down a pipe
c0286dd9594fda7f291e49c2189ed2bd1c9a3e13  Keep source locked until the end of the pipe
b4537e7318b95ff8a0c97de5173b69a0cbc5e552  Check whether destination is still writable before starting a new read
09ea9c8c971c42b12f926274892e141eed9bf1ee  Shutdown pipe if destination becomes "erroring"
ecc2f751a539f84a2561b8edc4c37f2f91165b68  Use helper to synchronously detect writable becoming errored
cc8b23a72006496b404924824156a262fc12171e  Move
5d775c66d996e5b8c214ec603999eeb7fba74005  Rename helper
510da092fd896d0e41d658c1f50d71cb5c91f951  Extract defaultWriterRunErrorListeners helper
d9c26b2e93796cb460b9df700f80015473874fc0  Use specialized helpers for detecting when source/dest become closed/erroring/errored during pipe
059e7e32bb28ee4339ae171d4e5938340f3be759  Generalize to listen for *any* state change
c14efb6c8c387c8bd4b7bdcaa711a91ff8915208  Use a single state change listener to check all shutdown conditions
5ddae355d9c4d6f525f5b34971571144d131bbe8  Avoid starting pipe loop if already shutting down
fc1d398ed5cdc5484c0abf4a6947944e4d3d06ed  Rename
a49f4a9ffb67874eb88caebbf97f383bf42d4860  Tweak asserts
6611146c3b3e1b38e0ecc51658d3dd08fd069c5c  Assert that reader is a default reader in finalize
4e740b57dc1e470806e90431a26e23d8661abe4c  Allow only a single state change listener
09e145ee121bc99e9e6730e703541d2d745ef781  Rethrow assertion failures from currentWrite
2ac5fafb4320dbaf5e43c5686a9c2997c4cd554a  Roll WPT
06bc5e27f683225ac476dd5218c0601048b8473d  Don't write a chunk in pipeTo() once the destination is no longer writable

-- 
View it on GitHub:
https://github.com/whatwg/streams/pull/1208/changes/5e26f17ca1540d9ad7828a5c6b5bda3c5c4deec4..06bc5e27f683225ac476dd5218c0601048b8473d
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1208/before/5e26f17ca1540d9ad7828a5c6b5bda3c5c4deec4/after/>

Received on Monday, 16 November 2026 19:28:52 UTC