Indexed DB: Disable transaction inactivity timeout in browser tests
commite65335523f6d75123c62110dd109b6e54fc870f5
authorjsbell <jsbell@chromium.org>
Tue, 18 Aug 2015 17:20:02 +0000 (18 10:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 17:20:46 +0000 (18 17:20 +0000)
tree39b11f5020341d1196133929f777e2c6606ee799
parentaf0ab609b53c64ce43172be42e20e7ca8beab497
Indexed DB: Disable transaction inactivity timeout in browser tests

To work around wedged renderers stalling the transaction queue, we
impose a timeout. Once a transaction has kicked off, if no new
requests are posted within 60s we assume the renderer is stalled but
not terminated, and abort the transaction. It appears we're hitting
this when browser tests are run under MSAN, Dr. Memory, and so on.

Override the default timeout in browser tests to prevent this.

BUG=505609
R=cmumford@chromium.org

Review URL: https://codereview.chromium.org/1285303002

Cr-Commit-Position: refs/heads/master@{#343948}
content/browser/indexed_db/indexed_db_class_factory.cc
content/browser/indexed_db/indexed_db_class_factory.h
content/browser/indexed_db/indexed_db_database.cc
content/browser/indexed_db/indexed_db_database_unittest.cc
content/browser/indexed_db/indexed_db_transaction.cc
content/browser/indexed_db/indexed_db_transaction.h
content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.cc
content/browser/indexed_db/mock_browsertest_indexed_db_class_factory.h