Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(websql): retry a failed setItem caused by Quota error #654

Merged
merged 4 commits into from
Feb 9, 2017

Conversation

thgreasi
Copy link
Member

@thgreasi thgreasi commented Feb 2, 2017

Resolves #352, #642.
Based on the reports this is mainly the issue for Safari, since Chrome already has high enough Quotas.
Reference: html5rocks

JSFiddle page.
In my case it successfully stores all items after asking 2 times to increase the allowed storage size.
In case you face "no db storage method is found", try opening the <iframe> in a new tab, or download and run the code locally.

@thgreasi thgreasi added this to the Version 1.5 milestone Feb 2, 2017
@thgreasi thgreasi merged commit 5045c6c into localForage:master Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant