From d3bd0e0c6426fe31199ec0d73127bc3916798c3a Mon Sep 17 00:00:00 2001 From: Bevis Tseng Date: Tue, 4 Oct 2016 15:40:11 +0800 Subject: [PATCH] Bug 1300454 - SendAbort() to parent after IDBTransaction is aborted in INITIAL state. r=janv --- dom/indexedDB/IDBTransaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/indexedDB/IDBTransaction.cpp b/dom/indexedDB/IDBTransaction.cpp index e0a30b56cb2a..a50489898aec 100644 --- a/dom/indexedDB/IDBTransaction.cpp +++ b/dom/indexedDB/IDBTransaction.cpp @@ -639,7 +639,7 @@ IDBTransaction::AbortInternal(nsresult aAbortCode, const bool isVersionChange = mMode == VERSION_CHANGE; const bool isInvalidated = mDatabase->IsInvalidated(); - bool needToSendAbort = mReadyState == INITIAL && !isInvalidated; + bool needToSendAbort = mReadyState == INITIAL; mAbortCode = aAbortCode; mReadyState = DONE;