Commit a71b2382 authored by Alex Catarineu's avatar Alex Catarineu
Browse files

fixup! Bug 40091: Load HTTPS Everywhere as a builtin addon in desktop

parent ecadb5d3
......@@ -1491,9 +1491,14 @@ var XPIStates = {
continue;
}
// Uninstall non-builtin https-everywhere-eff extension.
if (id === "https-everywhere-eff@eff.org" && !loc.isBuiltin) {
logger.debug("Uninstalling the HTTPS Everywhere extension.");
// Uninstall HTTPS Everywhere if it is installed in the user profile.
if (
id === "https-everywhere-eff@eff.org" &&
loc.name === KEY_APP_PROFILE
) {
logger.debug(
"Uninstalling the HTTPS Everywhere extension from user profile."
);
loc.installer.uninstallAddon(id);
changed = true;
continue;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment