diff options
author | rmcilroy <rmcilroy@chromium.org> | 2015-03-17 12:27:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-17 19:28:10 +0000 |
commit | 1edacadd43ecfb53d12918dc18854af856c7ad8f (patch) | |
tree | f8fcd733c70e1122c8a0f0f30b1200b8601be2fa /media | |
parent | 163dd24060d52465c508d5e1f4c028066d02bfa6 (diff) | |
download | chromium_src-1edacadd43ecfb53d12918dc18854af856c7ad8f.zip chromium_src-1edacadd43ecfb53d12918dc18854af856c7ad8f.tar.gz chromium_src-1edacadd43ecfb53d12918dc18854af856c7ad8f.tar.bz2 |
[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
Review URL: https://codereview.chromium.org/1012153002
Cr-Commit-Position: refs/heads/master@{#320957}
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions