Backed out changeset d11387c52d67 (bug 1106396) for causing crashes for NoScript users on a CLOSED TREE

This commit is contained in:
Wes Kocher 2015-01-22 11:13:40 -08:00
parent a21887c27a
commit 7e363afd22

View File

@ -47,9 +47,6 @@ NS_IMPL_ISUPPORTS(HttpChannelParentListener,
NS_IMETHODIMP
HttpChannelParentListener::OnStartRequest(nsIRequest *aRequest, nsISupports *aContext)
{
MOZ_RELEASE_ASSERT(mRedirectChannelId == 0,
"The redirect must be finished before OnStartRequest is called!");
MOZ_RELEASE_ASSERT(!mSuspendedForDiversion,
"Cannot call OnStartRequest if suspended for diversion!");
@ -90,9 +87,6 @@ HttpChannelParentListener::OnDataAvailable(nsIRequest *aRequest,
uint64_t aOffset,
uint32_t aCount)
{
MOZ_RELEASE_ASSERT(mRedirectChannelId == 0,
"The redirect must be finished before OnDataAvaialble is called!");
MOZ_RELEASE_ASSERT(!mSuspendedForDiversion,
"Cannot call OnDataAvailable if suspended for diversion!");