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

@MattiasBuelens pushed 20 commits.

b0ad82122f31dfb99103227adb3a4b5f82350255  Release reader immediately when shutting down a pipe
cd2383404ac2a6965bb40eb0a41cede331f557a2  Roll WPT
4589cd333532f76770c590b83429427a836fb635  Keep source locked until the end of the pipe
30bc351c5212db84446846b6816c456b8ca0dc92  Check whether destination is still writable before starting a new read
1ba955add99aee3333cad9fbb2b9ce37ac2b00aa  Shutdown pipe if destination becomes "erroring"
1300a0f76928c08538fdf6019022faabff6a78fd  Use helper to synchronously detect writable becoming errored
cbd4395603838a9ed7324291f30225899f3f3a4d  Roll WPT
a8aee0c7ce7bb06e0f56a03f2b1744f46a1b63de  Move
e4d26d28004b0ab74dc8d31e904a1e7739cefe3e  Rename helper
4f35e310e02e293b7d4a6f057fad7d1510cf8eb2  Extract defaultWriterRunErrorListeners helper
ed5e6e857934626f517f16a94c623e0bf2f94ecd  Use specialized helpers for detecting when source/dest become closed/erroring/errored during pipe
aaa9f45ef07bc3ebbe0d81175159bf1773ed5f94  Generalize to listen for *any* state change
3fae31360d65d9bede2af898003c16edb3f3f61c  Use a single state change listener to check all shutdown conditions
489b6488fa2defa7daf0415e24f6218553345ef1  Avoid starting pipe loop if already shutting down
cc46cf3989c7cbc61bc0fa0db10d033c55cc2623  Rename
4c8538e4800a222f74016ab111775a0d328e9ed7  Tweak asserts
71f2f31f03532708e6b45c66cc4b9b6f95bff1ef  Assert that reader is a default reader in finalize
0a0de301f8aa853ce8b2629f0f7f685e096e294b  Allow only a single state change listener
5e26f17ca1540d9ad7828a5c6b5bda3c5c4deec4  Rethrow assertion failures from currentWrite
579663f9661af44bf45be9f1af5c9ccc7fefa018  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/06bc5e27f683225ac476dd5218c0601048b8473d..579663f9661af44bf45be9f1af5c9ccc7fefa018
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1208/before/06bc5e27f683225ac476dd5218c0601048b8473d/after/>

Received on Monday, 16 November 2026 19:29:20 UTC