[whatwg/streams] SetUpReadableStreamDefaultControllerFromUnderlyingSource algorithm takes an extra argument controller that isn't provided at callsite. (#1151)

[**SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, controller, underlyingSource, underlyingSourceDict, highWaterMark, sizeAlgorithm)** performs the following steps](https://streams.spec.whatwg.org/commit-snapshots/109f1d4f9fba4eed42238f8de5b9201b8769cd8c/#set-up-readable-stream-default-controller-from-underlying-source):​ 

The above algorithm is called from one place: 

> [Perform ? SetUpReadableStreamDefaultControllerFromUnderlyingSource\(this, underlyingSource, underlyingSourceDict, highWaterMark, sizeAlgorithm\)\.](https://streams.spec.whatwg.org/commit-snapshots/109f1d4f9fba4eed42238f8de5b9201b8769cd8c/#rs-constructor)

Which does not provide a `controller` argument, which suggests to me this is an editorial error. 

-- 
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/1151

Received on Tuesday, 27 July 2021 17:30:20 UTC