Skip to content

Commit

Permalink
Add a brand check to pipeThrough()
Browse files Browse the repository at this point in the history
Require pipeThrough() to be called on a ReadableStream. Stop delegating
to this.pipeTo().

Also throw exceptions if *this* or _writable_ are not streams or they
are locked, or if *signal* is not an AbortSignal. Also require
_readable_ to be a ReadableStream.

Add a new abstract operation, ReadableStreamPipeTo(), which is used
internally by pipeTo() and pipeThrough() and also can be referenced from
other standards.

Closes #961.
  • Loading branch information
ricea committed Nov 26, 2018
1 parent 7f88f1d commit 78b15e7
Show file tree
Hide file tree
Showing 3 changed files with 349 additions and 312 deletions.
Loading

0 comments on commit 78b15e7

Please sign in to comment.