wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Ensure versionchange event is not fired to a cached page

Open szewai opened this issue 1 year ago • 1 comments

If an open IndexedDB connection on a cached page blocks requests from an active page, the connection should be closed automatically to unblock the requests. In this case, we don't want to queue versionchange event to the connection on the cached page, because when the cached page is resumed and handles the event, the handler may suggest the database version has not changed, while the database version may already be changed by requests from active page.

szewai avatar Aug 20 '24 21:08 szewai