rem: this.xmlhttp = new XMLHttpRequest(); 
add: this.xmlhttp = Components.classes[XMLHTTPREQUEST_CONTRACTID] .createInstance(Components.interfaces.nsIXMLHttpRequest); 
context:     asyncCall: function(listener, context, methodName, methodArgs, count) {        debug('asyncCall');        // Check for call in progress.        if (this._inProgress)            throw Components.Exception('Call in progress!');        // Check for the server URL;        if (!this._serverUrl)            throw Components.Exception('Not initialized');        this._inProgress = true;        // Clear state.        this._foundFault = false;        this._passwordTried = false;        this._result = null;        this._fault = null;        this._status = null;        this._responseStatus = null;        this._responseString = null;        this._listener = listener;        this._seenStart = false;        this._context = context;                debug('Arguments: ' + methodArgs);        // Generate request body        var xmlWriter = new XMLWriter(this._encoding);        this._generateRequestBody(xmlWriter, methodName, methodArgs);        var requestBody = xmlWriter.data;        debug('Request: ' + requestBody);        this.xmlhttp = new XMLHttpRequest();        if (this._useAuth) {            this.xmlhttp.open('POST', this._serverUrl, true,                              this._username, this._password);        } else {            this.xmlhttp.open('POST', this._serverUrl);        }        this.xmlhttp.onload = this._onload;        this.xmlhttp.onerror = this._onerror;        this.xmlhttp.parent = this;        this.xmlhttp.setRequestHeader('Content-Type','text/xml');        this.xmlhttp.send(requestBody);        var chan = this.xmlhttp.channel.QueryInterface(NSICHANNEL);        chan.notificationCallbacks = this;    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f477de3f0f71732aba9644db899034d79edad13c/nsXmlRpcClient.js/clean/extensions/xml-rpc/src/nsXmlRpcClient.js