Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

storage module needs "out of memory" handling #6

Open
getify opened this issue Jun 4, 2013 · 0 comments
Open

storage module needs "out of memory" handling #6

getify opened this issue Jun 4, 2013 · 0 comments

Comments

@getify
Copy link
Owner

getify commented Jun 4, 2013

Only Opera (classic) handles running out of LocalStorage space in a user-graceful way (asking the user to increase). Therefore, the storage module needs to handle this more gracefully than a simple JS error.

We should try/catch when we save to localstorage, and fire a subscribable event to let the dev know in a graceful way that the failure to store happened.

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

No branches or pull requests

1 participant