-
Notifications
You must be signed in to change notification settings - Fork 898
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
HeartbeatService throws error ONLY on Safari (IndexedDB issue?) #6871
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Thanks for the detailed report. I'm not able to reproduce it on Safari 16.1. This is the sample app I am using (compat app and auth):
I also tried with modular, and wasn't able to reproduce it either. Is there anything I should add to the code to trigger the error, or is there anything special about the Safari environment (iframe, privacy settings)? Is there a firebase-heartbeat-database in the browser's indexedDB? (Can find it in the Storage tab of the Safari dev console). If so, does deleting it make the problem go away? |
|
I think it might only occur when you have Crisp chat in your web app. |
we have a bunch of reports of this issue. @hsubox76 it doesn't seem to be a consistent issue though, users have reported that restarting Safari fixes the problem in that case, it would be nice if firebase caught/exposed the issue somehow to the application? Just so that we can recover from it in a nicer fashion |
Sure, I may be able to add a
Do you think it would be all right to have it |
thanks for the fast response btw! |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
When starting my Firebase app up in Safari, I get the following error:
It has to do with the HeartBeatService
I went on research and got the following findings:
firebase-js-sdk/packages/app/src/heartbeatService.ts
Line 82 in 734fdcd
https://github.com/WebKit/WebKit/blob/eb072c37fe4eb37704d87b163dd4e9318cd83c5d/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp#L2177 and
https://github.com/WebKit/WebKit/blob/eb072c37fe4eb37704d87b163dd4e9318cd83c5d/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp#L2337
So my bet: it is an issue with IndexedDB on Safari
The text was updated successfully, but these errors were encountered: