summaryrefslogtreecommitdiff
path: root/config.js
diff options
context:
space:
mode:
authorgirst <girst@users.noreply.github.com>2022-03-06 02:28:53 +0100
committergirst <girst@users.noreply.github.com>2022-03-06 02:31:05 +0100
commite6c78f51e895cb0d08f427721d01d1909b4c92a8 (patch)
tree3b44a649e68c558ff70e97059af718de2315ab39 /config.js
parente44f83e1a4a8c438e6f4973be655ac2e5aaaa2d8 (diff)
downloadlegacywolf-e6c78f51e895cb0d08f427721d01d1909b4c92a8.tar.gz
legacywolf-e6c78f51e895cb0d08f427721d01d1909b4c92a8.zip
Revert "automatically disable signature requirement"
downgrading the warning color stopped working some time ago. for completeness, as of nightly99 xpinstall.signatures.required is only checked in these places, none of which affect us: - nsContentSecurityUtils.cpp::DetectJsHacks() only for telemetry and relaxing some security measures we don't need - BrowserGlue.jsm::_onWindowsRestored() gates call to _notifyUnsignedAddonsDisabled(), which isn't triggered by our stuff (signedState != SIGNEDSTATE_MISSING) - AddonSettings.jsm::REQUIRE_SIGNING overridden by our config.js script, so doesn't matter - XPIProvider.jsm::observe() calls XPIDatabase.updateAddonAppDisabledStates(), which calls this.updateAddonDisabledState(addon), which depends on this.isUsableAddon(aAddon), which returns true as long as we override this.isDisabledLegacy(aAddon) This reverts commit 29dc0ab3a8f8bd6e781fb983cd076764480dce18.
Diffstat (limited to 'config.js')
-rw-r--r--config.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/config.js b/config.js
index 8919be4..6a7fea1 100644
--- a/config.js
+++ b/config.js
@@ -16,9 +16,6 @@ try {
const {AddonManager} = Cu.import('resource://gre/modules/AddonManager.jsm');
const {BootstrapLoader} = Cu.import('resource://legacy/BootstrapLoader.jsm');
AddonManager.addExternalExtensionLoader(BootstrapLoader);
-
- const {Services} = Cu.import('resource://gre/modules/Services.jsm');
- Services.prefs.setBoolPref('xpinstall.signatures.required', false);
} catch(ex) {
Components.utils.reportError(ex.message);
}