Bug 1717990 - QM: Convert some NS_ERROR_FAILURE which should have been NS_ERROR_ABORT; r=dom-storage-reviewers,jstutte
authorJan Varga <jvarga@mozilla.com>
Fri, 25 Jun 2021 06:27:59 +0000
changeset 584359 68f759c171f29cd56e583d5a08276607aeaadde7
parent 584358 8cf07efc49e74ea8fd9e00d0f21bc278fa9f0138
child 584360 e6f061cfca597766cb15df59321e3fc4552e149c
push id38563
push usercbrindusan@mozilla.com
push dateFri, 25 Jun 2021 09:34:36 +0000
treeherdermozilla-central@531323de1a48 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdom-storage-reviewers, jstutte
bugs1717990
milestone91.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1717990 - QM: Convert some NS_ERROR_FAILURE which should have been NS_ERROR_ABORT; r=dom-storage-reviewers,jstutte Differential Revision: https://phabricator.services.mozilla.com/D118676
dom/quota/ActorsParent.cpp
--- a/dom/quota/ActorsParent.cpp
+++ b/dom/quota/ActorsParent.cpp
@@ -7473,17 +7473,17 @@ void OriginOperationBase::Finish(nsresul
   MOZ_ALWAYS_SUCCEEDS(mOwningThread->Dispatch(this, NS_DISPATCH_NORMAL));
 }
 
 nsresult OriginOperationBase::Init() {
   AssertIsOnOwningThread();
   MOZ_ASSERT(mState == State_Initial);
 
   if (QuotaManager::IsShuttingDown()) {
-    return NS_ERROR_FAILURE;
+    return NS_ERROR_ABORT;
   }
 
   AdvanceState();
 
   if (mNeedsQuotaManagerInit && !QuotaManager::Get()) {
     QuotaManager::GetOrCreate(this);
   } else {
     Open();