Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Byte stream support for stream()? #186

Closed
saschanaz opened this issue Dec 14, 2022 · 0 comments · Fixed by #188
Closed

Byte stream support for stream()? #186

saschanaz opened this issue Dec 14, 2022 · 0 comments · Fixed by #188

Comments

@saschanaz
Copy link
Member

saschanaz commented Dec 14, 2022

This succeeds on Firefox but fails on Chrome:

new Blob([1,2]).stream().getReader({mode: 'byob'})

But the spec does not actually sets up the stream as a byte stream. It makes sense for file related APIs to support byte stream reader, should the spec change?

See also whatwg/fetch#267 for Fetch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant