commit | 79ace1bc561225f36bc14d7196dce4d109bdd0fc | [log] [tgz] |
---|---|---|
author | Nidhi Jaju <nidhijaju@google.com> | Thu Oct 29 11:26:16 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Oct 29 11:26:16 2020 |
tree | e8523dca5ad0e7404939f9dea3206a319b9d1fcb | |
parent | 1f5bf270089617bf1294e32c78dfbffec3486824 [diff] |
Add ReadableWritablePair to Readable Streams for pipeThrough 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 adds the ReadableWritablePair dictionary [1] to the ReadableStream class. ReadableWritablePair is used as a parameter for pipeThrough() to avoid unnecessary extraction of the readable and writable streams separately. This CL also includes changing the return type of pipeThrough() to ReadableStream*. Furthermore, the comments and ordering of operations in pipeThrough have also been changed to better reflect how the steps outlined in the Streams API Standard. [2] [1] https://streams.spec.whatwg.org/#dictdef-readablewritablepair [2] https://streams.spec.whatwg.org/#rs-pipe-through Bug: 1093862 Change-Id: I4a602f8bd03d300de5c4342d932b1ef8573943eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505260 Commit-Queue: Nidhi Jaju <nidhijaju@google.com> Reviewed-by: Adam Rice <ricea@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#822111}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.