-
Notifications
You must be signed in to change notification settings - Fork 344
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
Safari IndexedDb duplicate db #72
Comments
Same issue, when you navigate to different website and come back it creates duplicate DB. |
The issue doesn't seem to be specific to this library. I use Dexie and the same problem appears |
Is there any update on this? I'm seeing the same issue, just on Safari |
I suspect this is a Safari bug rather than anything to do with this library, but if someone can come up with a minimal reproduction and steps, I can take a look. |
Hey @jakearchibald, thanks for the swift response. I also believe this is a Safari bug and has nothing to do with idb itself. It might also be just a UI bug and the browser isn't actually creating multiple databases (it should also be impossible to create two dbs with the same name I assume?), I'll see if I can find out more. |
Yeah, databases are unique per name per origin. If there isn't any data loss associated with this, then I suspect it's just a UI bug. I guess you could look into the profile and if the information is actually duplicated. |
I'm seeing the exact same duplicate IndexedDB issue with Safari 13.1.1 on Mac 10.15.5. My guess though is that it's an issue with Safari's IDB browser, because when I make a change to a key, that change is reflected in both versions of the databases shown in the browser, suggesting they are actually the same underlying data, not in-fact two separate databases. |
Please reopen this with a minimal reproduction, if you think it's an issue with the library rather than an issue with Safari. |
I created issue on stackoverflow link with screenshort
This bug reproduce only in Safari
https://stackoverflow.com/questions/53560736/indexeddb-duplicate-only-in-safari
Code:
The text was updated successfully, but these errors were encountered: