rem: if (status != Components.results.NS_OK) { 
add: if (status) { debug('Non-zero status: (' + status.toString(16) + ') ' + errorMsg); 
context:     onStopRequest: function(channel, ctxt, status, errorMsg) {        debug('Stop Request');        if (!this._inProgress) return; // No longer interested.        this._inProgress = false;        this._parser = null;                if (status != Components.results.NS_OK) {            this._status = status;            this._errorMsg = errorMsg;            try { ctxt.listener.onError(this, ctxt.context, status, errorMsg); }            catch (ex) {}            return;        }        // All done.        debug('Parse finished');        if (this._fault) {            try {                this._fault = createInstance(XMLRPCFAULT_PROGID,                    'nsIXmlRpcFault');                this._fault.init(this._result.getValue('faultCode').data,                    this._result.getValue('faultString').data);                this._result = null;            } catch(e) {                this._fault = null;                this._result = null;                throw Components.Exception('Could not parse response');                try {                     ctxt.listener.onError(this, ctxt.context,                         Components.results.NS_ERROR_FAIL,                         'Server returned invalid Fault');                }                catch(ex) {}            }            debug('Fault: ' + this._fault);            try { ctxt.listener.onFault(this, ctxt.context, this._fault); }            catch(ex) {}        } else {            debug('Result: ' + this._result);            try {                 ctxt.listener.onResult(this, ctxt.context, this._result);            } catch (ex) {}        }    },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d3dfebde464e42cff3f0f23e68a3ea91b478df8c/nsXmlRpcClient.js/buggy/extensions/xml-rpc/src/nsXmlRpcClient.js