bug 1111875 - remove assertion on http size input error r=keeler

--HG--
extra : rebase_source : 952fa806d6598c00412bd9b27cf3af65e78e9452
This commit is contained in:
Patrick McManus 2014-12-16 21:35:57 -05:00
parent f21105850c
commit f7c9a9f8ee

View File

@ -5761,7 +5761,10 @@ nsHttpChannel::OnTransportStatus(nsITransport *trans, nsresult status,
}
if (progress > 0) {
MOZ_ASSERT(progress <= progressMax, "unexpected progress values");
if (progress > progressMax) {
NS_WARNING("unexpected progress values");
}
// Try to get mProgressSink if it was nulled out during OnStatus.
if (!mProgressSink) {
GetCallback(mProgressSink);