[Webkit-unassigned] [Bug 202705] New: IndexedDb: Attempt to get record without an in-progress transaction

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 8 14:04:21 PDT 2019


            Bug ID: 202705
           Summary: IndexedDb:  Attempt to get record without an
                    in-progress transaction
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Major
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mrschmidt at google.com

We work on the Firestore SDK, which provide real-time data synchronization for users of Google Cloud Firestore. As part of our offering, we ship an IndexedDb-enabled Web client. Our users have reported a severe problem with iOS 13 that essentially means that we are currently unable to support iOS 13. 

With iOS 13, we have observed the following behavior:

1) The Firestore SDK opens a new IndexedDb transaction/
2) The Safari tab goes in the background.
3) WebKit terminates the network, which stops the IDBServer (https://trac.webkit.org/browser/trunk/Source/WebKit/NetworkProcess/NetworkProcess.cpp#L2117)
4) The app goes back in the foreground and resumes its operation. Firestore tries to use the transaction it opened in step 1 and receives "Attempt to get a record from database without an in-progress transaction"

We believe that this is likely a regression introduced by the fix for https://bugs.webkit.org/show_bug.cgi?id=197050

See https://github.com/firebase/firebase-js-sdk/issues/2232 for further comments and analysis.

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/20191008/d70aca75/attachment.html>

More information about the webkit-unassigned mailing list