diff --git a/index.bs b/index.bs index 274f4a279..8a4f5d5e3 100644 --- a/index.bs +++ b/index.bs @@ -6809,20 +6809,23 @@ a chunk from a {{ReadableStreamDefaultReader}} |reader|, given a [=read re
To read all - bytes from a {{ReadableStreamDefaultReader}} |reader|, given |successSteps|, - which is an algorithm accepting a [=byte sequence=], and |failureSteps|, which is an algorithm - accepting a JavaScript value: [=read-loop=] given |reader|, a new [=byte sequence=], - |successSteps|, and |failureSteps|. + bytes from a {{ReadableStreamDefaultReader}} |reader|, given |maxByteLength|, which is an + optional number, |successSteps|, which is an algorithm accepting a [=byte sequence=], and + |failureSteps|, which is an algorithm accepting a JavaScript value: [=read-loop=] given |reader|, a + new [=byte sequence=], |maxByteLength|, |successSteps|, and |failureSteps|.
This recursion could potentially cause a stack overflow if implemented