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

storage module needs "out of memory" handling #6

@getify

Description

@getify

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions