Change parameter of pipeTo to WritableStream
In an effort to change the blink implementation of readable streams to better match the Web IDL descriptions in the Streams API Standard, this CL changes the first parameter of pipeTo() in readable_stream.idl to WritableStream type based on https://streams.spec.whatwg.org/#ref-for-rs-pipe-to%E2%91%A1. This CL also modifies the ordering and comments within pipeTo() inside the ReadableStream class to better reflect the steps outlined in https://streams.spec.whatwg.org/#rs-pipe-to. Bug: 1093862 Change-Id: Id6029dc3dc0551e59c812daac499a8e538f3be75 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505333Reviewed-by:Adam Rice <ricea@chromium.org> Commit-Queue: Nidhi Jaju <nidhijaju@google.com> Cr-Commit-Position: refs/heads/master@{#822055}
Showing
Please register or sign in to comment