Bug 176768 - XML-RPC: onStopRequest signature wrong

r=heikki
sr=darin
This commit is contained in:
samuel%sieb.net 2003-01-04 19:07:37 +00:00
Родитель ab35e822fd
Коммит a69f29bcee
1 изменённых файлов: 8 добавлений и 6 удалений

Просмотреть файл

@ -20,9 +20,9 @@
/* /*
* nsXmlRpcClient XPCOM component * nsXmlRpcClient XPCOM component
* Version: $Revision: 1.30 $ * Version: $Revision: 1.31 $
* *
* $Id: nsXmlRpcClient.js,v 1.30 2002-12-04 07:59:57 samuel%sieb.net Exp $ * $Id: nsXmlRpcClient.js,v 1.31 2003-01-04 19:07:37 samuel%sieb.net Exp $
*/ */
/* /*
@ -188,7 +188,7 @@ nsXmlRpcClient.prototype = {
}, // Do exactly nada. }, // Do exactly nada.
// End of the request // End of the request
onStopRequest: function(channel, ctxt, status, errorMsg) { onStopRequest: function(channel, ctxt, status) {
debug('Stop Request'); debug('Stop Request');
if (!this._inProgress) return; // No longer interested. if (!this._inProgress) return; // No longer interested.
@ -196,11 +196,13 @@ nsXmlRpcClient.prototype = {
this._parser = null; this._parser = null;
if (status) { if (status) {
debug('Non-zero status: (' + status.toString(16) + ') ' + errorMsg); debug('Non-zero status: (' + status.toString(16) + ') ');
this._status = status; this._status = status;
this._errorMsg = errorMsg; this._errorMsg = errorMsg;
try { this._listener.onError(this, ctxt, status, errorMsg); } try {
catch (ex) { this._listener.onError(this, ctxt, status,
status.toString(16));
} catch (ex) {
debug('Exception in listener.onError: ' + ex); debug('Exception in listener.onError: ' + ex);
} }
return; return;