Bug 1129219 - fix learnMoreURL to be a getter so we don't access appInfo really early, rs=bustage-and-Mossop's-advice on a CLOSED TREE

This commit is contained in:
Gijs Kruitbosch 2015-03-09 19:43:08 +00:00
parent 6cf362c962
commit 8786da8387

View File

@ -66,7 +66,9 @@ const GMP_PLUGINS = [
description: "eme-adobe_description",
// The following learnMoreURL is another hack to be able to support a SUMO page for this
// feature.
learnMoreURL: Services.urlFormatter.formatURLPref("app.support.baseURL") + "drm-content",
get learnMoreURL() {
return Services.urlFormatter.formatURLPref("app.support.baseURL") + "drm-content";
},
licenseURL: "http://help.adobe.com/en_US/primetime/drm/HTML5_CDM_EULA/index.html",
homepageURL: "http://help.adobe.com/en_US/primetime/drm/index.html",
optionsURL: "chrome://mozapps/content/extensions/gmpPrefs.xul",