From 4bef6939df06aa7f81e076132f4a6987b230d067 Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Tue, 30 Nov 2021 23:41:12 +0100 Subject: [PATCH] Set writable HWM to 0 in "create an identity TransformStream" --- index.bs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.bs b/index.bs index 43c1211cf..804b0aed5 100644 --- a/index.bs +++ b/index.bs @@ -6949,9 +6949,11 @@ reason. an identity {{TransformStream}}: 1. Let |transformStream| be a [=new=] {{TransformStream}}. + 1. Let |transformAlgorithm| be an algorithm which, given |chunk|, [=TransformStream/enqueues=] + |chunk| in |transformStream|. 1. [=TransformStream/Set up=] |transformStream| with [=TransformStream/set up/transformAlgorithm=] set to an algorithm which, given - |chunk|, [=TransformStream/enqueues=] |chunk| in |transformStream|. + ignore>[=TransformStream/set up/transformAlgorithm=] set to |transformAlgorithm| and [=TransformStream/set up/writableHighWaterMark=] set to 0. 1. Return |transformStream|.