[Webkit-unassigned] [Bug 203431] REGRESSION (r250754): web page using IDBIndex doesn't load occasionally

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 25 18:30:11 PDT 2019


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

--- Comment #3 from Sihui Liu <sihui_liu at apple.com> ---
(In reply to Chris Dumez from comment #2)
> (In reply to Sihui Liu from comment #1)
> > Adding shouldPreventEnteringBackForwardCache_DEPRECATED() to return true in
> > IDBIndex fixes the issue.
> 
> This would not the right fix though, just to be clear.

The cause is the IDBDatabase object is not destroyed and database connection stays open when user navigates to another page. When the second page tries to delete the database, it's blocked on the open connection.

We have to close database connections on navigation, and this would change the state of the IDB DOM objects (open connection -> closed, ongoing transaction -> aborted, etc). If the state change is acceptable for page cache, we probably stop()/close() the IDBDatabase in suspend().

-- 
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/20191026/5594b919/attachment.htm>


More information about the webkit-unassigned mailing list