From 20ec067c14eede5c33bd50bbe17fc7b998f91c7f Mon Sep 17 00:00:00 2001 From: "ruslan%netscape.com" Date: Tue, 25 Apr 2000 23:59:25 +0000 Subject: [PATCH] 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 --- mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp b/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp index d0c93b18f47..d58a6183cee 100644 --- a/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHTTPChannel.cpp @@ -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) {