Don't fire OnStopRequest just yet when the channel gets Cancelled (until

the receiver learns how to handle it correctly), r=imoT, a=leaf. Used to
crash when following expedia link from msn.com


git-svn-id: svn://10.0.0.236/trunk@67135 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ruslan%netscape.com
2000-04-25 23:59:25 +00:00
parent 80dea51d4b
commit 20ec067c14

View File

@@ -178,8 +178,9 @@ nsHTTPChannel::Cancel(nsresult status)
mStatus = status;
rv = mRequest->Cancel(status);
if (mResponseDataListener)
mFinalListener -> FireNotifications ();
// XXX/ruslan: uncomment me when the webshell learns to handle notifications as agreed
// if (mResponseDataListener)
// mFinalListener -> FireNotifications ();
if (mOpenObserver && !mFiredOpenOnStopRequest)
{