From 623193b2b7627a968b4b0ae1a63031011f83067a Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Sat, 26 Dec 2020 23:48:54 +0100 Subject: [PATCH] Set HWM to 0 for ReadableStream.from() --- reference-implementation/lib/abstract-ops/readable-streams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference-implementation/lib/abstract-ops/readable-streams.js b/reference-implementation/lib/abstract-ops/readable-streams.js index 426c93644..6a5a72ef4 100644 --- a/reference-implementation/lib/abstract-ops/readable-streams.js +++ b/reference-implementation/lib/abstract-ops/readable-streams.js @@ -1459,6 +1459,6 @@ function ReadableStreamFromIterable(asyncIterable) { return promiseResolvedWith(returnResult); } - stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm); + stream = CreateReadableStream(startAlgorithm, pullAlgorithm, cancelAlgorithm, 0); return stream; }