Fix bug 273285. Patch by Fabien <fabien@juliana-multimedia.com>, r=ssieb
git-svn-id: svn://10.0.0.236/trunk@182751 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
|
||||
/*
|
||||
* nsXmlRpcClient XPCOM component
|
||||
* Version: $Revision: 1.34 $
|
||||
* Version: $Revision: 1.35 $
|
||||
*
|
||||
* $Id: nsXmlRpcClient.js,v 1.34 2004-04-18 22:14:12 gerv%gerv.net Exp $
|
||||
* $Id: nsXmlRpcClient.js,v 1.35 2005-10-21 22:36:39 bzbarsky%mit.edu Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -254,7 +254,7 @@ nsXmlRpcClient.prototype = {
|
||||
catch(ex) {
|
||||
debug('Exception in listener.onFault: ' + ex);
|
||||
}
|
||||
} else {
|
||||
} else if (this._result) {
|
||||
debug('Result: ' + this._result);
|
||||
try {
|
||||
this._listener.onResult(this, ctxt, this._result);
|
||||
@@ -438,9 +438,9 @@ nsXmlRpcClient.prototype = {
|
||||
if (this._useAuth){
|
||||
if (this._passwordTried){
|
||||
try {
|
||||
this._listener.onError(this, ctxt,
|
||||
this._listener.onError(this, null,
|
||||
Components.results.NS_ERROR_FAIL,
|
||||
'Server returned invalid Fault');
|
||||
'Invalid credentials');
|
||||
}
|
||||
catch(ex) {
|
||||
debug('Exception in listener.onError: ' + ex);
|
||||
|
||||
Reference in New Issue
Block a user