[Webkit-unassigned] [Bug 273827] REGRESSION (iOS 17.4): IndexedDB failing with "UnknownError: Connection to Indexed Database server lost."

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 13 14:15:53 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273827

--- Comment #5 from Sihui Liu <sihui_liu at apple.com> ---
(In reply to Lincoln Baxter, III from comment #4)
> This also affects us. The IndexedDB should be able to restart and reconnect
> if the networking process crashes. The rest of the site continues to
> function just fine, but without access to the database until the entire
> device/webkit process is restarted. So users essentially keep operating on
> the site but experience inconsistent behavior as underlying components fail
> to save or load DB data.
> 
> This results in a really bad user experience, even with failover to local
> storage.

Site can listen to close event (https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close_event) to find out when the database connection is closed due to process crash or other issues and reopen database (`indexedDB.open`), so it can access the database again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240513/a3ff49eb/attachment.htm>


More information about the webkit-unassigned mailing list