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

Using .clear() on indexedDB doesn't work on chrome #924

Closed
stratosphr opened this issue Jan 14, 2020 · 2 comments
Closed

Using .clear() on indexedDB doesn't work on chrome #924

stratosphr opened this issue Jan 14, 2020 · 2 comments

Comments

@stratosphr
Copy link

Hello everyone,

I tried to use localForage.clear() using the indexedDB driver on chrome (on Linux).
If I put a callback, the callback is indeed called but clearly the storage is not cleared.

I tried using the WebSQL on chrome and it works perfectly fine.
I also tried using Firefox and it also works fine.

So the bug seems to come from chrome + indexedDB.

@qkreltms
Copy link

Did you solved your issue? Then how to?

@geoidesic
Copy link

geoidesic commented Mar 31, 2020

It works for me in Chrome. Maybe show some code.
I see different behaviour. For me the database is cleared but the callback is not called.
See #945

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants