Description[indexeddb] Fix IndexedDBBrowserTest.ConnectionsClosedOnTabClose to retain the db.
Fix IndexedDBBrowserTest.ConnectionsClosedOnTabClose to ensure that the
first tab holds a reference to the DB after it does setVersion to ensure
that if a GC happens before the second tab is loaded, the second tab still
get's blocked from doing it's version update. Previously if a GC happened at
this time then the test would hang as the second tab would set it's title
immediately to "setVersion(3) complete" bypassing the "setVersion(3) blocked"
title.
This was failing when long idle times were enabled because the long idle
times caused more GC when the tab went idle.
BUG=467655
Committed: https://crrev.com/1edacadd43ecfb53d12918dc18854af856c7ad8f
Cr-Commit-Position: refs/heads/master@{#320957}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|