Re: [whatwg/streams] Fix invalid high water mark for tee branches (PR #1234)

@yonran commented on this pull request.



> @@ -6459,7 +6459,7 @@ abstract operations are used to implement these "cross-realm transforms".
   1. Otherwise, return [=a promise resolved with=] undefined.
  1. Let |sizeAlgorithm| be an algorithm that returns 1.
  1. Perform ! [$SetUpReadableStreamDefaultController$](|stream|, |controller|, |startAlgorithm|,
-    |pullAlgorithm|, |cancelAlgorithm|, 0, |sizeAlgorithm|).
+    |pullAlgorithm|, |cancelAlgorithm|, 1, |sizeAlgorithm|).

Oops, you’re right.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1234#discussion_r886280956

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1234/review/991345453@github.com>

Received on Wednesday, 1 June 2022 03:05:39 UTC