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

Store small blobs with localStorage #30

Closed
tofumatt opened this issue Feb 6, 2014 · 3 comments
Closed

Store small blobs with localStorage #30

tofumatt opened this issue Feb 6, 2014 · 3 comments

Comments

@tofumatt
Copy link
Member

tofumatt commented Feb 6, 2014

This will likely be crazy slow and possibly just a fun experiment, but it would be neat if we could store a few small blobs in localStorage.

@sole
Copy link
Contributor

sole commented Feb 6, 2014

yo! I see that you like storage so I storage some storage in your storage! 😆

@tofumatt
Copy link
Member Author

tofumatt commented Feb 6, 2014

This is what I get for typing in issues from my phone; there's always something!

@sole
Copy link
Contributor

sole commented Feb 6, 2014

But it is funny! Also shouldn't you be 😴 :P

@tofumatt tofumatt added this to the Binary data support milestone Mar 19, 2014
tofumatt added a commit that referenced this issue Mar 19, 2014
Adds support for ArrayBuffer, Blob, and most kinds of TypedArrays
to all drivers. Relies on some hairy code (that could be further refactored)
for localStorage and WebSQL, but the point is everything checks out.

PhantomJS seems to have problems with the Blob test; while I'm hesitant to
skip tests, it DOES work fine in Safari, which is the target there, so I'm
going to look into it but commit this work for now, as it's very useful.

* Fix #28
* Fix #30
* Fix #40
* Fix #63

This partially addresses #69, as it allows for Blob storage, but doesn't
address the issue of extremely large files, which neither localStorage nor
WebSQL will support (their limits are too low).
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

2 participants