Intent to prototype: TransformStreams and ReadableStream.pipeThrough

60 views
Skip to first unread message

Kagami Rosylight

unread,
Apr 12, 2022, 5:59:20 AM4/12/22
to dev-pl...@mozilla.org
Summary: We want to prototype TransformStream and ReadableStream.pipeThrough method, which are used to transform a given stream for another use.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1764099

Specification:
- https://streams.spec.whatwg.org/#ts-class
- https://streams.spec.whatwg.org/#rs-pipe-through

Platform coverage: All

Preference: Both are behind `dom.streams.transform_streams.enabled` which will be enabled on Nightly-only for now.

Other browsers:
- TransformStream: Shipped in Chrome 67 and Safari 14.1
- pipeThrough: Shipped in Chrome 59 and Safari 10.1

web-platform-tests:
- https://wpt.live/streams/transform-streams/
- https://wpt.live/streams/piping/pipe-through.any.js
Reply all
Reply to author
Forward
0 new messages