Remove unnecessary front-end features and pres when not building EME.

Tag #26.
This commit is contained in:
wolfbeast 2017-12-13 17:47:44 +01:00 committed by Roy Tam
commit 80a865ac12
7 changed files with 28 additions and 11 deletions

View file

@ -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