summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/in-content/content.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-12-13 17:47:44 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-24 10:30:41 +0100
commitc88c161875beca091fe183a3b04480422b3d3885 (patch)
treea65fa8c0a8dddab16d65739b382a7632b73e813d /browser/components/preferences/in-content/content.js
parent46ad1199deeaf6ba2db31fb3398d3eaa9abdbb2e (diff)
downloadUXP-c88c161875beca091fe183a3b04480422b3d3885.tar
UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.gz
UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.lz
UXP-c88c161875beca091fe183a3b04480422b3d3885.tar.xz
UXP-c88c161875beca091fe183a3b04480422b3d3885.zip
Remove unnecessary front-end features and pres when not building EME.
Tag #26.
Diffstat (limited to 'browser/components/preferences/in-content/content.js')
-rw-r--r--browser/components/preferences/in-content/content.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/browser/components/preferences/in-content/content.js b/browser/components/preferences/in-content/content.js
index 5ba334b02..a957b1dd5 100644
--- a/browser/components/preferences/in-content/content.js
+++ b/browser/components/preferences/in-content/content.js
@@ -78,6 +78,7 @@ var gContentPane = {
document.getElementById("notificationsPolicyLearnMore").setAttribute("href",
notificationInfoURL);
+#ifdef MOZ_EME
let drmInfoURL =
Services.urlFormatter.formatURLPref("app.support.baseURL") + "drm-content";
document.getElementById("playDRMContentLink").setAttribute("href", drmInfoURL);
@@ -91,6 +92,7 @@ var gContentPane = {
// of the pane hiding/showing code potentially interfering:
document.getElementById("drmGroup").setAttribute("style", "display: none !important");
}
+#endif
},
// UTILITY FUNCTIONS