getify/h5ive-DEPRECATED
storage module needs "out of memory" handling
Ouverte
#6 ouverte le 4 juin 2013
enhancementhelp wanted
Métriques du dépôt
- Stars
- (325 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
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.