[Webkit-unassigned] [Bug 235579] iOS 15.2.1 Safari - PWA - An internal error was encountered in the Indexed Database server

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 11 13:09:23 PST 2022


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

Sihui Liu <sihui_liu at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|WebCore Misc.               |Website Storage

--- Comment #10 from Sihui Liu <sihui_liu at apple.com> ---
The connection error can happen when WebKit's networking process crashes/gets killed during IndexedDB operations (it's not necessarily an IndexedDB bug but process exits so the operation cannot finish).

If you can reproduce the issue or see the issue on your device, can you check if you have files on your device with name com.apple.WebKit.Networking?

For the cursor error, does it also happen when users background Safari too? 

WebKit may actively abort an IDB transaction when process is backgrounded. A transaction can run in background until system finally decides to suspend the process, and the transaction will be rolled back (since a process cannot hold lock to a database when it's suspended). You may set onabort listener on IDBTransaction and see if the transaction gets aborted when the cursor error happens. If so, maybe try breaking down long-running transactions to smaller ones, so it has a chance to finish before timeout, and it may be easier to retry even if it's aborted.

-- 
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/20220211/fcc91a6c/attachment.htm>


More information about the webkit-unassigned mailing list