Skip to content

Streams: Add ReadableStream.from() coverage for function iterators#59441

Merged
MattiasBuelens merged 1 commit intoweb-platform-tests:masterfrom
daeyeon:rs-from-func-iter
May 2, 2026
Merged

Streams: Add ReadableStream.from() coverage for function iterators#59441
MattiasBuelens merged 1 commit intoweb-platform-tests:masterfrom
daeyeon:rs-from-func-iter

Conversation

@daeyeon
Copy link
Copy Markdown
Contributor

@daeyeon daeyeon commented Apr 23, 2026

This adds coverage for ReadableStream.from() with callable iterator objects returned by @@iterator / @@asyncIterator.

The existing tests cover ordinary iterator objects and invalid non-object returns, but not callable iterator objects.

This adds coverage for `ReadableStream.from()` when `@@iterator` or `@@asyncIterator` returns a function object.

Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com>
@MattiasBuelens MattiasBuelens merged commit 8df92c7 into web-platform-tests:master May 2, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants