Bug 355151 - Don't try and use DOM namespace pollution in a component, it doesn't work. r=ssieb sr=biesi

This commit is contained in:
silver%warwickcompsoc.co.uk 2006-10-24 16:02:01 +00:00
Родитель 98c1e92458
Коммит a221a74472
1 изменённых файлов: 4 добавлений и 3 удалений

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

@ -38,9 +38,9 @@
/* /*
* nsXmlRpcClient XPCOM component * nsXmlRpcClient XPCOM component
* Version: $Revision: 1.38 $ * Version: $Revision: 1.39 $
* *
* $Id: nsXmlRpcClient.js,v 1.38 2006-02-20 04:04:48 samuel%sieb.net Exp $ * $Id: nsXmlRpcClient.js,v 1.39 2006-10-24 16:02:01 silver%warwickcompsoc.co.uk Exp $
*/ */
/* /*
@ -165,7 +165,8 @@ nsXmlRpcClient.prototype = {
debug('Request: ' + requestBody); debug('Request: ' + requestBody);
this.xmlhttp = new XMLHttpRequest(); this.xmlhttp = Components.classes[XMLHTTPREQUEST_CONTRACTID]
.createInstance(Components.interfaces.nsIXMLHttpRequest);
if (this._useAuth) { if (this._useAuth) {
this.xmlhttp.open('POST', this._serverUrl, true, this.xmlhttp.open('POST', this._serverUrl, true,
this._username, this._password); this._username, this._password);