From 96cc526deb5e110b689348651ca193d1180fcfa9 Mon Sep 17 00:00:00 2001 From: Tom Tung Date: Fri, 19 Apr 2019 14:35:33 +0000 Subject: [PATCH] Bug 1528690 - P2 - Change some assertions to diagnostic assertion to get more information on Nightly; r=asuth Depends on D28148 Differential Revision: https://phabricator.services.mozilla.com/D28149 --HG-- extra : moz-landing-system : lando --- dom/indexedDB/ActorsParent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/indexedDB/ActorsParent.cpp b/dom/indexedDB/ActorsParent.cpp index f051bb08129b..490789a927b6 100644 --- a/dom/indexedDB/ActorsParent.cpp +++ b/dom/indexedDB/ActorsParent.cpp @@ -11533,7 +11533,7 @@ void ConnectionPool::PerformIdleDatabaseMaintenance( void ConnectionPool::CloseDatabase(DatabaseInfo* aDatabaseInfo) { AssertIsOnOwningThread(); MOZ_ASSERT(aDatabaseInfo); - MOZ_ASSERT(!aDatabaseInfo->TotalTransactionCount()); + MOZ_DIAGNOSTIC_ASSERT(!aDatabaseInfo->TotalTransactionCount()); MOZ_ASSERT(aDatabaseInfo->mThreadInfo.mThread); MOZ_ASSERT(aDatabaseInfo->mThreadInfo.mRunnable); MOZ_ASSERT(!aDatabaseInfo->mClosing);