--- a/netwerk/protocol/http/HttpChannelChild.cpp
+++ b/netwerk/protocol/http/HttpChannelChild.cpp
@@ -436,17 +436,17 @@ HttpChannelChild::OnStartRequest(const n
mCacheEntryAvailable = cacheEntryAvailable;
mCacheExpirationTime = cacheExpirationTime;
mCachedCharset = cachedCharset;
mSelfAddr = selfAddr;
mPeerAddr = peerAddr;
mAvailableCachedAltDataType = altDataType;
- MOZ_ASSERT(!mAfterOnStartRequestBegun, "OnStartRequest should be called only once");
+ // MOZ_ASSERT(!mAfterOnStartRequestBegun, "OnStartRequest should be called only once");
mAfterOnStartRequestBegun = true;
AutoEventEnqueuer ensureSerialDispatch(mEventQ);
nsresult rv;
nsCOMPtr<nsISupportsPRUint32> container =
do_CreateInstance(NS_SUPPORTS_PRUINT32_CONTRACTID, &rv);
if (NS_FAILED(rv)) {
--- a/netwerk/protocol/http/nsHttpChannel.cpp
+++ b/netwerk/protocol/http/nsHttpChannel.cpp
@@ -5953,17 +5953,17 @@ nsHttpChannel::OnStartRequest(nsIRequest
this, request, mStatus));
// Make sure things are what we expect them to be...
MOZ_ASSERT(request == mCachePump || request == mTransactionPump,
"Unexpected request");
MOZ_ASSERT(!(mTransactionPump && mCachePump) || mCachedContentIsPartial,
"If we have both pumps, the cache content must be partial");
- MOZ_ASSERT(!mAfterOnStartRequestBegun, "OnStartRequest should be called only once");
+ // MOZ_ASSERT(!mAfterOnStartRequestBegun, "OnStartRequest should be called only once");
mAfterOnStartRequestBegun = true;
if (!mSecurityInfo && !mCachePump && mTransaction) {
// grab the security info from the connection object; the transaction
// is guaranteed to own a reference to the connection.
mSecurityInfo = mTransaction->SecurityInfo();
}