getify/h5ive-DEPRECATED

storage module needs "out of memory" handling

Open

#6 geöffnet am 4. Juni 2013

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

Repository-Metriken

Stars
 (325 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

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