getify/h5ive-DEPRECATED

storage module needs "out of memory" handling

Offen

#6 geöffnet am 04.06.2013

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (60 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (325 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide