Skip to content

Implement BodyMixin.textStream() behind a flag#60237

Merged
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7864305
May 29, 2026
Merged

Implement BodyMixin.textStream() behind a flag#60237
chromium-wpt-export-bot merged 1 commit into
masterfrom
chromium-export-cl-7864305

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented May 28, 2026

This is a convenience method to pipe a byte stream through a
TextDecoderStream.

  • Extracted the "Transformer" internals from TextDecoderStream into core/
  • Call it from both the TextDecoderStream constructor and
    Body.textStream()

Still TODO: implement this for Blob.

See https://chromestatus.com/feature/5146752165478400
and whatwg/fetch#1862

Bug: 514448226
Change-Id: Ibf29c2780cfc5fe8b438de94fd6be342997c975c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7864305
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1637750}

This is a convenience method to pipe a byte stream through a
TextDecoderStream.

- Extracted the "Transformer" internals from TextDecoderStream into core/
- Call it from both the TextDecoderStream constructor and
  Body.textStream()

Still TODO: implement this for Blob.

See https://chromestatus.com/feature/5146752165478400
and whatwg/fetch#1862

Bug: 514448226
Change-Id: Ibf29c2780cfc5fe8b438de94fd6be342997c975c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7864305
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1637750}
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit cc98dd9 into master May 29, 2026
27 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7864305 branch May 29, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants