mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backout 9000e74fa1fe because it requires test updates. r=me
This commit is contained in:
parent
e9f067ac2a
commit
7e6ccdcc90
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user