| Index: Source/modules/indexeddb/IDBTransactionTest.cpp
|
| diff --git a/Source/modules/indexeddb/IDBTransactionTest.cpp b/Source/modules/indexeddb/IDBTransactionTest.cpp
|
| index a6b815a63b8b46f377825e43795dbda60416d983..254dd74de56f8a7d803b8afb543edf784ed268b3 100644
|
| --- a/Source/modules/indexeddb/IDBTransactionTest.cpp
|
| +++ b/Source/modules/indexeddb/IDBTransactionTest.cpp
|
| @@ -145,6 +145,9 @@ TEST_F(IDBTransactionTest, TransactionFinish)
|
| // Fire an abort to make sure this doesn't free the transaction during use. The test
|
| // will not fail if it is, but ASAN would notice the error.
|
| db->onAbort(transactionId, DOMError::create(AbortError, "Aborted"));
|
| +
|
| + // onAbort() should have cleared the transaction's reference to the database.
|
| + EXPECT_EQ(1, db->refCount());
|
| }
|
|
|
| } // namespace
|
|
|