if(rv != NPERR_NO_ERROR) return NS_ERROR_FAILURE;
if (callbacks->urlnotify != NULL && mNotifyData != nsnull) { PRLibrary* lib = nsnull; lib = mInst->fLibrary;  NS_TRY_SAFE_CALL_VOID(CallNPP_URLNotifyProc(callbacks->urlnotify, npp, mNPStream.url, nsPluginReason_Done, mNotifyData), lib); }
ns4xPluginStreamListener::OnStopBinding(nsIPluginStreamInfo* pluginInfo,                                         nsresult status){  if(!mInst || !mInst->IsStarted())    return NS_ERROR_FAILURE;  // check if the stream is of seekable type and later its destruction  // see bug 91140      nsresult rv = NS_OK;  if(mStreamType != nsPluginStreamType_Seek) {    NPReason reason = NPRES_DONE;    if (NS_FAILED(status))      reason = NPRES_NETWORK_ERR;   // since the stream failed, we need to tell the plugin that    rv = CleanUpStream(reason);  }    if(rv != NPERR_NO_ERROR)    return NS_ERROR_FAILURE;  return NS_OK;}