Backout 9000e74fa1fe because it requires test updates. r=me

This commit is contained in:
Stephen Pohl 2015-03-10 20:42:30 -04:00
parent e9f067ac2a
commit 7e6ccdcc90

View File

@ -214,15 +214,13 @@ GMPWrapper.prototype = {
this._plugin.id); },
get isActive() { return !this.userDisabled; },
get appDisabled() {
get appDisabled() { return false; },
get userDisabled() {
if (this._plugin.isEME && !GMPPrefs.get(KEY_EME_ENABLED, true)) {
// If "media.eme.enabled" is false, all EME plugins are disabled.
return true;
}
return false;
},
get userDisabled() {
return !GMPPrefs.get(KEY_PLUGIN_ENABLED, true, this._plugin.id);
},
set userDisabled(aVal) { GMPPrefs.set(KEY_PLUGIN_ENABLED, aVal === false,