[whatwg/streams] "Let returnValue be the result of performing con..." (#982)

https://streams.spec.whatwg.org/commit-snapshots/0ebe4b042e467d9876d80ae045de3843092ad797/#writable-stream-default-controller-get-chunk-size

> Let returnValue be the result of performing controller\.\[\[strategySizeAlgorithm\]\], passing in chunk

Maybe we should explicitly handle the case where controller.\[\[strategySizeAlgorithm]] is **undefined** here? This can happen after ClearAlgorithms() is called. It doesn't make any difference to the reference implementation, as it treats that case as an abrupt completion, but it might be helpful for other implementations to make it an explicit step.

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

Received on Monday, 4 February 2019 15:45:16 UTC