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

@MattiasBuelens pushed 17 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

-- 
View it on GitHub:
https://github.com/whatwg/streams/pull/1208/changes/f6d8b7343a1bba0141917e39e6412dc5ef4642bb..71f2f31f03532708e6b45c66cc4b9b6f95bff1ef
You are receiving this because you are subscribed to this thread.

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

Received on Monday, 18 May 2026 20:03:58 UTC