Closed Jack-Works closed 3 years ago
I believe it is a Safari bug, here is the tracking issue https://bugs.webkit.org/show_bug.cgi?id=216769
Thanks for filing this on WebKit, I agree it looks like a browser bug. I recommend trying to reduce the demo to just the failing test, and even try to recreate it without the library.
I have found a workaround for anyone have the same bug.
You should try catch the transaction after it created immediately, if failed, re create the transaction.
I do want to reduce the dependency but the indexed db raw api is too hard to use.
Chrome and Firefox no problem. But Safari throws.
(The last Unhandled Promise Rejection).
The expected result is (on Chrome):