From b0b0ccecb25f529b5226d2e299bf29a37b3d3c59 Mon Sep 17 00:00:00 2001 From: Honza Bambas Date: Fri, 17 Jul 2020 13:13:02 +0000 Subject: [PATCH] Bug 1605895 - Advance the diagnostic assertion by suspend counter, r=michal,necko-reviewers Differential Revision: https://phabricator.services.mozilla.com/D83936 --- netwerk/protocol/http/HttpChannelChild.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/netwerk/protocol/http/HttpChannelChild.cpp b/netwerk/protocol/http/HttpChannelChild.cpp index 1c14e17f447e..d4c591a44069 100644 --- a/netwerk/protocol/http/HttpChannelChild.cpp +++ b/netwerk/protocol/http/HttpChannelChild.cpp @@ -244,10 +244,11 @@ HttpChannelChild::~HttpChannelChild() { (mEverHadBgChildAtConnectParent ? 1 << 18 : 0) | (mCreateBackgroundChannelFailed ? 1 << 19 : 0) | (mBgInitFailCallbackTriggered ? 1 << 20 : 0) | - (mCanSendAtCancel ? 1 << 21 : 0); + (mCanSendAtCancel ? 1 << 21 : 0) | (!!mSuspendCount ? 1 << 22 : 0) | + (!!mCallOnResume ? 1 << 23 : 0); MOZ_CRASH_UNSAFE_PRINTF( "~HttpChannelChild, mOnStopRequestCalled=false, mStatus=0x%08x, " - "mActorDestroyReason=%d, 20200709 flags=%u", + "mActorDestroyReason=%d, 20200717 flags=%u", static_cast(nsresult(mStatus)), static_cast(mActorDestroyReason ? *mActorDestroyReason : -1), flags);