Bug 1164100 P2 Fix defunct assertion in Cache API ActionRunnable. r=ehsan a=lmandel
authorBen Kelly <ben@wanderview.com>
Wed, 13 May 2015 13:35:34 -0700
changeset 274610 ce2bf4d8d6ac736eb72687cc459a3be4c600e37f
parent 274609 44af5d513df949ce7782a205d7c8ab80d41a4966
child 274611 8932e8631aab43b747bbfc89c4ff12d2d4c8f797
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan, lmandel
bugs1164100
milestone40.0a2
Bug 1164100 P2 Fix defunct assertion in Cache API ActionRunnable. r=ehsan a=lmandel Landing on a CLOSED TREE
dom/cache/Context.cpp
--- a/dom/cache/Context.cpp
+++ b/dom/cache/Context.cpp
@@ -459,17 +459,17 @@ public:
     , mState(STATE_INIT)
     , mResult(NS_OK)
     , mExecutingRunOnTarget(false)
   {
     MOZ_ASSERT(mContext);
     // mData may be nullptr
     MOZ_ASSERT(mTarget);
     MOZ_ASSERT(mAction);
-    MOZ_ASSERT(mQuotaInfo.mDir);
+    // mQuotaInfo.mDir may be nullptr if QuotaInitRunnable failed
     MOZ_ASSERT(mInitiatingThread);
   }
 
   nsresult Dispatch()
   {
     NS_ASSERT_OWNINGTHREAD(ActionRunnable);
     MOZ_ASSERT(mState == STATE_INIT);