Skip to content

Add textStream() method to Blob interface - #221

Merged
mkruisselbrink merged 3 commits into
w3c:mainfrom
noamr:patch-1
Jun 4, 2026
Merged

Add textStream() method to Blob interface#221
mkruisselbrink merged 3 commits into
w3c:mainfrom
noamr:patch-1

Conversation

@noamr

@noamrnoamr commented May 17, 2026

Copy link
Copy Markdown
Contributor

Add textStream method to Blob interface for streaming text.

Part of whatwg/fetch#1861

For normative changes, the following tasks have been completed:

Implementation commitment:


Preview | Diff

Add textStream method to Blob interface for streaming text.
@noamr

Copy link
Copy Markdown
ContributorAuthor

Corresponding to whatwg/fetch#1862

Comment threadindex.bs Outdated
Comment threadindex.bs
Clarify the steps for the textStream() method and its behavior compared to FileReader.
Comment threadindex.bs Outdated
Comment threadindex.bs Outdated

@mkruisselbrinkmkruisselbrink left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good to me as well

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 2, 2026
Reuse the new TextDecoderTransformer, and always use utf-8
Spec: w3c/FileAPI#221
Bug: 514448226
Change-Id: I742ef36f009c62f6f31333488dabb27b52385be3
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 2, 2026
Reuse the new TextDecoderTransformer, and always use utf-8
Spec: w3c/FileAPI#221
Bug: 514448226
Change-Id: I742ef36f009c62f6f31333488dabb27b52385be3
beckysiegel pushed a commit to chromium/chromium that referenced this pull request Jun 2, 2026
Reuse the new TextDecoderTransformer, and always use utf-8
Spec: w3c/FileAPI#221
Bug: 514448226
Change-Id: I742ef36f009c62f6f31333488dabb27b52385be3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7882022
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1640459}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 2, 2026
Reuse the new TextDecoderTransformer, and always use utf-8
Spec: w3c/FileAPI#221
Bug: 514448226
Change-Id: I742ef36f009c62f6f31333488dabb27b52385be3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7882022
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1640459}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jun 2, 2026
Reuse the new TextDecoderTransformer, and always use utf-8
Spec: w3c/FileAPI#221
Bug: 514448226
Change-Id: I742ef36f009c62f6f31333488dabb27b52385be3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7882022
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1640459}
@noamrnoamr changed the title Implement textStream method in Blob interfaceAdd textStream() method to Blob interfaceJun 3, 2026
noamr added a commit to web-platform-tests/wpt that referenced this pull request Jun 4, 2026
* Un-tentative textStream() tests
See w3c/FileAPI#221
and whatwg/fetch#1862
* Added some tests for null body
@noamr

noamr commented Jun 4, 2026

Copy link
Copy Markdown
ContributorAuthor

Merge plz? I don't have permissions.

@mkruisselbrink

Copy link
Copy Markdown
Collaborator

I was waiting for the fetch side to land as well, but looks like that is pretty much ready to merge as well, so I'll go ahead and merge this one.

@mkruisselbrink
mkruisselbrink merged commit cd1d1da into w3c:mainJun 4, 2026
2 checks passed
github-actionsBot added a commit that referenced this pull request Jun 4, 2026
SHA: cd1d1da
Reason: push, by mkruisselbrink
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
annevk pushed a commit to whatwg/fetch that referenced this pull request Jun 5, 2026
lando-workerBot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jun 8, 2026
Automatic update from web-platform-tests
Implement blob.textStream()
Reuse the new TextDecoderTransformer, and always use utf-8
Spec: w3c/FileAPI#221
Bug: 514448226
Change-Id: I742ef36f009c62f6f31333488dabb27b52385be3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7882022
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1640459}
--
wpt-commits: 401fc658885c5b88bbebc2c8db46b9efae386989
wpt-pr: 60343
lando-workerBot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jun 8, 2026
…Blob` and `Body`), a=testonly
Automatic update from web-platform-tests
Un-tentative `textStream()` tests (for `Blob` and `Body`) (#60356)
* Un-tentative textStream() tests
See w3c/FileAPI#221
and whatwg/fetch#1862
* Added some tests for null body
--
wpt-commits: 15694f7be1515a179dff1cdc7ba42189d795d9d4
wpt-pr: 60356
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@noamr@mkruisselbrink@annevk@saschanaz