Re: [whatwg/streams] WritableStreamDefaultController [[strategySizeAlgorithm]] called after being set to undefined (Issue #1218)

Looking at the call sites for WritableStreamDefaultControllerClearAlgorithms and I can't really see any rhyme or reason behind them. I'd expect them to happen whenever we set [[state]] to "errored" (maybe "erroring"?) and "closed".

Patching the immediate problem by moving that particular case later might be reasonable, but I wonder if we should do a more comprehensive reform of when they are cleared.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1218#issuecomment-1040857623
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1218/1040857623@github.com>

Received on Tuesday, 15 February 2022 22:24:01 UTC