Backed out changeset cea85f67c505 (bug 1796578) for causing build bustages on TestDoublyLinkedList.exe_syms.track CLOSED TREE

This commit is contained in:
Cristian Tuns 2022-10-20 11:33:25 -04:00
parent 6e90c6d47e
commit 9adb679ac7

View File

@ -21,13 +21,6 @@ XPCOMUtils.defineLazyModuleGetters(lazy, {
AddonManagerPrivate: "resource://gre/modules/AddonManager.jsm",
});
XPCOMUtils.defineLazyPreferenceGetter(
lazy,
"SITEPERMS_ADDON_PROVIDER_ENABLED",
SITEPERMS_ADDON_PROVIDER_PREF,
false
);
const FIRST_CONTENT_PROCESS_TOPIC = "ipc:first-content-process-created";
const SITEPERMS_ADDON_ID_SUFFIX = "@siteperms.mozilla.org";
@ -547,7 +540,7 @@ const SitePermsAddonProvider = {
},
get isEnabled() {
return lazy.SITEPERMS_ADDON_PROVIDER_ENABLED;
return Services.prefs.getBoolPref(SITEPERMS_ADDON_PROVIDER_PREF, false);
},
observe(subject, topic, data) {