mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset d11387c52d67 (bug 1106396) for causing crashes for NoScript users on a CLOSED TREE
This commit is contained in:
parent
a21887c27a
commit
7e363afd22
@ -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!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user