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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user