зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
770589ef58
Коммит
f477de3f0f
|
@ -38,9 +38,9 @@
|
|||
|
||||
/*
|
||||
* 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);
|
||||
|
||||
this.xmlhttp = new XMLHttpRequest();
|
||||
this.xmlhttp = Components.classes[XMLHTTPREQUEST_CONTRACTID]
|
||||
.createInstance(Components.interfaces.nsIXMLHttpRequest);
|
||||
if (this._useAuth) {
|
||||
this.xmlhttp.open('POST', this._serverUrl, true,
|
||||
this._username, this._password);
|
||||
|
|
Загрузка…
Ссылка в новой задаче