Skip to content

Receiving several WebKit related IndexedDB errors #1001

Answered by cyrilletuzi
Helveg asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for the logs. I will try to investigate. I have seen there was some indexedDb bugs in some betas of iOS 17, but they are supposed to be fixed in final versions.

Can I configure this initialization mechanism somehow? Because of WebKit's poor track record with IDB I'd prefer to disable it there altogether

If completely falling back to localStorage, this library becomes quite useless. You can do it directly with something like that:

if (/* Your Safari detection */) {
 localStorage.setItem();
} else {
  this.storageMap.set();
}

It would not be a good idea to include such an option in the lib for several reasons:

  • browser detection is a bad practice, if there is a issue in an brows…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Helveg
Comment options

Comment options

You must be logged in to vote
1 reply
@Helveg
Comment options

Answer selected by Helveg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants