зеркало из https://github.com/mozilla/pjs.git
Fix bug 273285. Patch by Fabien <fabien@juliana-multimedia.com>, r=ssieb
This commit is contained in:
Родитель
3b5e89f9dc
Коммит
06b8579e4e
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче