(void) channel->mListener->OnStopRequest(channel, channel->mContext, NS_OK, nsnull);
(void) channel->mListener->OnStopRequest(channel, channel->mContext, (channel->mCancelled ? NS_BINDING_ABORTED : NS_OK), nsnull);
nsCachedChromeChannel::HandleStopLoadEvent(PLEvent* aEvent){    // Fire the OnStopRequest() for the cached chrome channel, and    // remove it from the load group.    LoadEvent* event = NS_REINTERPRET_CAST(LoadEvent*, aEvent);    nsCachedChromeChannel* channel = event->mChannel;    PR_LOG(gLog, PR_LOG_DEBUG,           ("nsCachedChromeChannel[%p]: firing OnStopRequest for %p",            channel, channel->mListener.get()));    (void) channel->mListener->OnStopRequest(channel, channel->mContext, NS_OK, nsnull);    if (channel->mLoadGroup) {        PR_LOG(gLog, PR_LOG_DEBUG,               ("nsCachedChromeChannel[%p]: removing self from load group %p",                channel, channel->mLoadGroup.get()));        (void) channel->mLoadGroup->RemoveChannel(channel, nsnull, nsnull, nsnull);    }    channel->mListener = nsnull;    channel->mContext  = nsnull;    return nsnull;}