getify/h5ive-DEPRECATED

storage module needs "out of memory" handling

オープン

#6 opened on 2013/06/04

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (60 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (325 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド