зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1140263: Disable Adobe EME on all platforms for now. r=cpearce
This commit is contained in:
Родитель
90c1248342
Коммит
b8c729938b
|
@ -47,11 +47,7 @@ this.GMPUtils = {
|
|||
*/
|
||||
_isPluginSupported: function(aPlugin) {
|
||||
if (aPlugin.id == EME_ADOBE_ID) {
|
||||
if (Services.appinfo.OS == "WINNT") {
|
||||
return Services.sysinfo.getPropertyAsInt32("version") >= 6;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
|
|
@ -375,13 +375,8 @@ add_task(function* testEmeSupport() {
|
|||
let doc = gManagerWindow.document;
|
||||
let item = get_addon_element(gManagerWindow, addon.id);
|
||||
if (addon.id == GMPScope.EME_ADOBE_ID) {
|
||||
if (Services.appinfo.OS == "WINNT" &&
|
||||
Services.sysinfo.getPropertyAsInt32("version") >= 6) {
|
||||
Assert.ok(item, "Adobe EME supported, found add-on element.");
|
||||
} else {
|
||||
Assert.ok(!item,
|
||||
"Adobe EME not supported, couldn't find add-on element.");
|
||||
}
|
||||
Assert.ok(!item,
|
||||
"Adobe EME not supported, couldn't find add-on element.");
|
||||
} else {
|
||||
Assert.ok(item, "Found add-on element.");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче