Bug
1509419 [wpt PR 14193] - ReadableStream: modify tests for pipeThrough() having a brand check, a=testonly
Automatic update from web-platform-tests
ReadableStream: modify tests for pipeThrough() having a brand check (#14193)
Remove tests that ReadableStream.prototype.pipeThrough operates
generically on its arguments. Add tests that it performs brand checks on
|this|, |readable| and |writable|, and throws for other precondition
failures.
Also verify that it *doesn't* call pipeTo().
Also verify that preventClose, preventCancel and preventAbort work,
since we can no longer test that it passes through to pipeTo().
Also change the expected length of the function from 2 to 1 to reflect
that the options argument is optional.
Corresponding standard changes are at
https://github.com/whatwg/streams/pull/966.
--
wpt-commits:
4606e75ca8cd69830223f02e0fbd46fc160f431f
wpt-pr: 14193