From 022cf6d431c587739752c9801937f98dd8b567e5 Mon Sep 17 00:00:00 2001 From: girst Date: Thu, 24 Sep 2020 14:03:38 +0200 Subject: don't prevent unsigned addon warning to not break some addons This broke installing some, but not all, addons. The reason is that some addons derive their addon-id from a certificate's CommonName in XPIInstall.jsm::loadManifest(aPackage, aLocation, aOldAddon) --- config.js | 1 - 1 file changed, 1 deletion(-) (limited to 'config.js') diff --git a/config.js b/config.js index 2dd7dba..d009577 100644 --- a/config.js +++ b/config.js @@ -2,7 +2,6 @@ try { let Xdb = Cu.import('resource://gre/modules/addons/XPIDatabase.jsm', {}); Xdb.XPIDatabase.isDisabledLegacy = (addon) => false; - Xdb.XPIDatabase['SIGNED_TYPES'].clear(); Xdb.AddonSettings = { ...Object.fromEntries(Object.getOwnPropertyNames(Xdb.AddonSettings) .map(e => [e, Xdb.AddonSettings[e]])), -- cgit v1.2.3