[whatwg/streams] Editorial: Remove redundant assertion in "ReadableStream pipe through" and "ReadableStream pipe to" (PR #1375)

This is removing redundancy that does not change behaviour.

For https://streams.spec.whatwg.org/#readablestream-pipe-through, the assertion is already done in step 4:
> Let promise be ! [ReadableStreamPipeTo](https://streams.spec.whatwg.org/#readable-stream-pipe-to)(readable, transform.[[[writable]]](https://streams.spec.whatwg.org/#transformstream-writable), preventClose, preventAbort, preventCancel, signalArg).

Similarly, for https://streams.spec.whatwg.org/#readablestream-pipe, the assertion is done in step 4 as well:
> Return ! [ReadableStreamPipeTo](https://streams.spec.whatwg.org/#readable-stream-pipe-to)(readable, writable, preventClose, preventAbort, preventCancel, signalArg).
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/1375

-- Commit Summary --

  * Remove redundant assertion in `readablestream-pipe-through`
  * Remove redundant assertion in "ReadableStream pipe to"

-- File Changes --

    M index.bs (4)

-- Patch Links --

https://github.com/whatwg/streams/pull/1375.patch
https://github.com/whatwg/streams/pull/1375.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1375
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1375@github.com>

Received on Monday, 22 June 2026 14:30:33 UTC