[Webkit-unassigned] [Bug 207997] New: Not possible to launch IndexedDB queries in parallel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 20 01:35:52 PST 2020


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

            Bug ID: 207997
           Summary: Not possible to launch IndexedDB queries in parallel
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: carlos.aristu at openbravo.com

Created attachment 391268

  --> https://bugs.webkit.org/attachment.cgi?id=391268&action=review

Reproducer

It is not possible to launch two IndexedDB queries in parallel, i.e., if a first query is launched and next a second one, the second query is not executed until the first one is completed.

Note that using Google Chrome in other OS like Linux, this is not the behavior and the two queries can be executed in parallel.

Tested with Safari Technology preview release 101 (Safari 13.2, WebKit 15610.1.2.1) on Mac, and with Safari 13 on iOS.

Steps to reproduce: 

1- Open the attached reproducer, twoQueries.html. An IndexedDB database with two objectStores (testStore and testStore2) is created.
2- Click in “Populate database” and wait until it finishes. It will populate “testStore” with 250000 records and testStore2 with 10 records.
3- Click in "Launch Queries", it launches a query for testStore1 (query1) and another query for testStore2 (query2) right at the same time. Note that until the query1 is not finished, query2 is not launched. As commented above, this is not the behavior using Chrome in Linux. In that case, the two queries are executed in parallel and as query2 is faster its result is printed before the result of query1.

-- 
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/20200220/a41fa1c5/attachment-0001.htm>


More information about the webkit-unassigned mailing list