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

Add Blob support #22

Open
dmitrizagidulin opened this issue Feb 6, 2016 · 2 comments
Open

Add Blob support #22

dmitrizagidulin opened this issue Feb 6, 2016 · 2 comments

Comments

@dmitrizagidulin
Copy link

What would be the level of effort to add Blob support (basically, support for xhr.responseType = 'blob' and xhr.send(Blob), as described in the xhr2 tutorial)?

It seems like Blob support has finally made it into all the browsers except for Opera Mini.

@pwnall
Copy link
Owner

pwnall commented Feb 6, 2016

TL;DR: it'd be lots of work that I'm not prepared to commit.

Blob is complicated because of the constructor and the FileReader API that comes with it.

I expect that implementing the whole W3C File API would get the library to more than 2x the current size, and that doesn't even account for possible interop problems with other libraries implementing their own Blob polyfill.

@rajsite
Copy link

rajsite commented Apr 25, 2024

Node now supports Blob, think it makes sense to support it if it exists on global?

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

No branches or pull requests

3 participants