Skip to content

fix(ext/webidl): implement async_sequence for ReadableStream.from#35976

Open
petamoriken wants to merge 1 commit into
denoland:mainfrom
petamoriken:fix/async-sequence
Open

fix(ext/webidl): implement async_sequence for ReadableStream.from#35976
petamoriken wants to merge 1 commit into
denoland:mainfrom
petamoriken:fix/async-sequence

Conversation

@petamoriken

@petamoriken petamoriken commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Closes #35777
Closes #35611
Closes #30020

Generated with assistance from Grok Build

Replace the ad-hoc async iterable converter with Web IDL async_sequence
conversion (GetMethod, Object-only, CreateAsyncFromSyncIterator) and wire
ReadableStream.from to async_sequence<any>, per whatwg/streams#1372.

Closes denoland#35777
@crowlKats crowlKats self-requested a review July 11, 2026 17:13
"from.any.html": {
"expectedFailures": [
"ReadableStream.from ignores a null @@asyncIterator",
"ReadableStream.from accepts a string"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

WPT for ReadableStream.from accepting a string will be updated to throw a TypeError in web-platform-tests/wpt#59594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant