summaryrefslogtreecommitdiff
path: root/config.js
diff options
context:
space:
mode:
authorgirst <girst@users.noreply.github.com>2020-09-24 14:03:38 +0200
committergirst <girst@users.noreply.github.com>2020-09-24 17:18:29 +0200
commit022cf6d431c587739752c9801937f98dd8b567e5 (patch)
tree3c7af7efcad4a3708367f2373542468d30f4d8e2 /config.js
parent0d457a3fb04837f1b51e83f04b5b8a9b2b742904 (diff)
downloadlegacywolf-022cf6d431c587739752c9801937f98dd8b567e5.tar.gz
legacywolf-022cf6d431c587739752c9801937f98dd8b567e5.zip
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)
Diffstat (limited to 'config.js')
-rw-r--r--config.js1
1 files changed, 0 insertions, 1 deletions
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]])),