[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 412/483: Stopped using nsIJSXMLHttpRequest interface, replaced by nsIXMLHttpRequest
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:42:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.
commit 8be24f8419331b1e8f9f523102a1a23414871f28
Author: Wladimir Palant <trev at adblockplus.org>
Date: Mon Apr 2 14:27:13 2012 +0200
Stopped using nsIJSXMLHttpRequest interface, replaced by nsIXMLHttpRequest
---
main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.js b/main.js
index b242229..ab7db39 100644
--- a/main.js
+++ b/main.js
@@ -35,7 +35,7 @@ let elementMarkerClass = null;
}
// Load CSS asynchronously
-let request = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(Ci.nsIJSXMLHttpRequest);
+let request = Cc["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(Ci.nsIXMLHttpRequest);
request.open("GET", "chrome://elemhidehelper/content/elementmarker.css");
request.overrideMimeType("text/plain");
request.addEventListener("load", function(event)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git
More information about the Pkg-mozext-commits
mailing list