diff --git a/browser/app/profile/mypal.js b/browser/app/profile/mypal.js
index 3c2cbfa1e3..9fce70f014 100644
--- a/browser/app/profile/mypal.js
+++ b/browser/app/profile/mypal.js
@@ -51,14 +51,6 @@ pref("extensions.webextensions.default-content-security-policy", "script-src 'se
pref("extensions.webextensions.remote", true);
pref("extensions.webextensions.background-delayed-startup", true);
-// Extensions that should not be flagged as legacy in about:addons
-pref("extensions.legacy.exceptions", "testpilot@cliqz.com,@testpilot-containers,jid1-NeEaf3sAHdKHPA@jetpack,@activity-streams,pulse@mozilla.com,@testpilot-addon,@min-vid,tabcentertest1@mozilla.com,snoozetabs@mozilla.com,speaktome@mozilla.com,hoverpad@mozilla.com");
-
-// Require signed add-ons by default
-pref("extensions.langpacks.signatures.required", false);
-pref("xpinstall.signatures.required", false);
-pref("xpinstall.signatures.devInfoURL", "data:text/plain,");
-
// Dictionary download preference
pref("browser.dictionaries.download.url", "data:text/plain,");
@@ -717,7 +709,7 @@ pref("browser.preferences.search", true);
pref("browser.preferences.defaultPerformanceSettings.enabled", true);
pref("browser.download.show_plugins_in_list", true);
-pref("browser.download.hide_plugins_without_extensions", true);
+pref("browser.download.hide_plugins_without_extensions", false);
// Backspace and Shift+Backspace behavior
// 0 goes Back/Forward
@@ -1582,8 +1574,6 @@ pref("browser.tabs.crashReporting.requestEmail", false);
pref("browser.tabs.crashReporting.emailMe", false);
pref("browser.tabs.crashReporting.email", "");
-pref("extensions.legacy.enabled", false);
-
// How often to check for CPOW timeouts. CPOWs are only timed out by
// the hang monitor.
pref("dom.ipc.cpow.timeout", 500);
diff --git a/browser/base/content/browser-pageActions.js b/browser/base/content/browser-pageActions.js
index 5b7322187e..45e6c4f5ef 100644
--- a/browser/base/content/browser-pageActions.js
+++ b/browser/base/content/browser-pageActions.js
@@ -933,13 +933,6 @@ var BrowserPageActions = {
let action = this._contextAction;
this._contextAction = null;
- PageActions.logTelemetry("managed", action);
- AMTelemetry.recordActionEvent({
- object: "pageAction",
- action: "manage",
- extra: { addonId: action.extensionID },
- });
-
let viewID = "addons://detail/" + encodeURIComponent(action.extensionID);
window.BrowserOpenAddonsMgr(viewID);
},
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index bf30927b13..1a5d843c39 100644
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -15,7 +15,6 @@ ChromeUtils.import("resource://gre/modules/NotificationDB.jsm");
XPCOMUtils.defineLazyModuleGetters(this, {
AddonManager: "resource://gre/modules/AddonManager.jsm",
- AMTelemetry: "resource://gre/modules/AddonManager.jsm",
NewTabPagePreloading: "resource:///modules/NewTabPagePreloading.jsm",
BrowserUsageTelemetry: "resource:///modules/BrowserUsageTelemetry.jsm",
BrowserUtils: "resource://gre/modules/BrowserUtils.jsm",
@@ -534,13 +533,6 @@ XPCOMUtils.defineLazyPreferenceGetter(
false
);
-XPCOMUtils.defineLazyPreferenceGetter(
- this,
- "gAddonAbuseReportEnabled",
- "extensions.abuseReport.enabled",
- false
-);
-
customElements.setElementCreationCallback("translation-notification", () => {
Services.scriptloader.loadSubScript(
"chrome://browser/content/translation-notification.js",
@@ -7763,19 +7755,6 @@ function promptRemoveExtension(addon) {
let checkboxState = { value: false };
let checkboxMessage = null;
- // Enable abuse report checkbox in the remove extension dialog,
- // if enabled by the about:config prefs and the addon type
- // is currently supported.
- if (
- gHtmlAboutAddonsEnabled &&
- gAddonAbuseReportEnabled &&
- ["extension", "theme"].includes(addon.type)
- ) {
- checkboxMessage = getFormattedString(
- "webext.remove.abuseReportCheckbox.message",
- [document.getElementById("bundle_brand").getString("vendorShortName")]
- );
- }
const result = confirmEx(
null,
title,
@@ -7834,20 +7813,16 @@ var ToolbarContextMenu = {
let manageExtension = popup.querySelector(
".customize-context-manageExtension"
);
- let reportExtension = popup.querySelector(
- ".customize-context-reportExtension"
- );
- let separator = reportExtension.nextElementSibling;
let id = this._getExtensionId(popup);
let addon = id && (await AddonManager.getAddonByID(id));
+ let separator = popup.querySelector(
+ ".customize-context-removeExtension"
+ ).nextElementSibling;
for (let element of [removeExtension, manageExtension, separator]) {
element.hidden = !addon;
}
- reportExtension.hidden =
- !addon || !gAddonAbuseReportEnabled || !gHtmlAboutAddonsEnabled;
-
if (addon) {
removeExtension.disabled = !(
addon.permissions & AddonManager.PERM_CAN_UNINSTALL
@@ -7862,45 +7837,18 @@ var ToolbarContextMenu = {
return;
}
let { remove, report } = promptRemoveExtension(addon);
- AMTelemetry.recordActionEvent({
- object: "browserAction",
- action: "uninstall",
- value: remove ? "accepted" : "cancelled",
- extra: { addonId: addon.id },
- });
if (remove) {
// Leave the extension in pending uninstall if we are also
// reporting the add-on.
await addon.uninstall(report);
- if (report) {
- this.reportExtensionForContextAction(popup, "uninstall");
- }
}
},
- async reportExtensionForContextAction(popup, reportEntryPoint) {
- let id = this._getExtensionId(popup);
- let addon = id && (await AddonManager.getAddonByID(id));
- if (!addon) {
- return;
- }
- const win = await BrowserOpenAddonsMgr("addons://list/extension");
- win.openAbuseReport({
- addonId: addon.id,
- reportEntryPoint,
- });
- },
-
openAboutAddonsForContextAction(popup) {
let id = this._getExtensionId(popup);
if (id) {
let viewID = "addons://detail/" + encodeURIComponent(id);
BrowserOpenAddonsMgr(viewID);
- AMTelemetry.recordActionEvent({
- object: "browserAction",
- action: "manage",
- extra: { addonId: id },
- });
}
},
};
diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
index aef05de4c6..f024f1856d 100644
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -398,11 +398,6 @@
label="&customizeMenu.removeExtension.label;"
contexttype="toolbaritem"
class="customize-context-removeExtension"/>
-