mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1619307 - Fixed assertion in IDBTransaction::Run. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D64984 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
fdb4e063f4
commit
963a76c6fc
@ -988,7 +988,10 @@ IDBTransaction::Run() {
|
||||
// abort/commit.
|
||||
|
||||
if (ReadyState::Finished == mReadyState) {
|
||||
MOZ_ASSERT(IsAborted());
|
||||
// There are three cases where mReadyState is set to Finished: In
|
||||
// FileCompleteOrAbortEvents, AbortInternal and in CommitIfNotStarted. We
|
||||
// shouldn't get here after CommitIfNotStarted again.
|
||||
MOZ_ASSERT(mFiredCompleteOrAbort || IsAborted());
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user