diff --git a/browser/base/content/browser-eme.js b/browser/base/content/browser-eme.js
index fe3b0477299..d26e8835f35 100644
--- a/browser/base/content/browser-eme.js
+++ b/browser/base/content/browser-eme.js
@@ -33,16 +33,6 @@ var gEMEHandler = {
return "";
},
- onDontAskAgain: function(menuPopupItem) {
- let button = menuPopupItem.parentNode.anchorNode;
- let bar = button.parentNode;
- Services.prefs.setBoolPref("browser.eme.ui." + bar.value + ".disabled", true);
- bar.close();
- },
- onNotNow: function(menuPopupItem) {
- let button = menuPopupItem.parentNode.anchorNode;
- button.parentNode.close();
- },
receiveMessage: function({target: browser, data: data}) {
let parsedData;
try {
@@ -105,13 +95,6 @@ var gEMEHandler = {
return;
}
- // If the user turned these off, bail out:
- try {
- if (Services.prefs.getBoolPref("browser.eme.ui." + notificationId + ".disabled")) {
- return;
- }
- } catch (ex) { /* Don't care if the pref doesn't exist */ }
-
let msgPrefix = "emeNotifications." + notificationId + ".";
let msgId = msgPrefix + "message";
@@ -140,13 +123,6 @@ var gEMEHandler = {
accessKey: gNavigatorBundle.getString(btnAccessKeyId),
callback: callback
});
-
- let optionsId = "emeNotifications.optionsButton";
- buttons.push({
- label: gNavigatorBundle.getString(optionsId + ".label"),
- accessKey: gNavigatorBundle.getString(optionsId + ".accesskey"),
- popup: "emeNotificationsPopup"
- });
}
let iconURL = "chrome://browser/skin/drm-icon.svg#chains-black";
diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
index b24bb54a342..9bea1f71d54 100644
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -464,17 +464,6 @@
-
-