Backed out changeset 8d5390d3813b (bug 1085162)

This commit is contained in:
Carsten "Tomcat" Book 2014-10-21 14:38:04 +02:00
parent c83e7008da
commit 23659ea4f6

View File

@ -6,8 +6,6 @@
const XULAPPINFO_CONTRACTID = "@mozilla.org/xre/app-info;1";
const XULAPPINFO_CID = Components.ID("{c763b610-9d49-455a-bbd2-ede71682a1ac}");
let gAppInfo;
let gOldAppInfo = Components.classes[XULAPPINFO_CONTRACTID]
.getService(Components.interfaces.nsIXULRuntime);
function createAppInfo(id, name, version, platformVersion) {
gAppInfo = {
@ -42,8 +40,6 @@ function createAppInfo(id, name, version, platformVersion) {
Ci.nsISupports])
};
Object.setPrototypeOf(gAppInfo, gOldAppInfo);
var XULAppInfoFactory = {
createInstance: function (outer, iid) {
if (outer != null)