diff --git a/netwerk/base/src/nsAsyncStreamListener.cpp b/netwerk/base/src/nsAsyncStreamListener.cpp index 365fdf9403ae..79b4f6b51837 100644 --- a/netwerk/base/src/nsAsyncStreamListener.cpp +++ b/netwerk/base/src/nsAsyncStreamListener.cpp @@ -278,9 +278,12 @@ nsAsyncStreamObserver::OnStopRequest(nsIChannel* channel, nsISupports* context, nsresult aStatus, const PRUnichar* aMsg) { - nsresult rv = GetStatus(); - if (NS_FAILED(rv)) return rv; + nsresult rv; + // + // Fire the OnStopRequest(...) regardless of what the current + // Status is... + // nsOnStopRequestEvent* event = new nsOnStopRequestEvent(this, context, channel); if (event == nsnull)