mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Backout 0e6aa605af74 (bug 1140263) now that Adobe EME is cleared to be turned on for Windows Vista and above. r=me
This commit is contained in:
parent
2f60231832
commit
148f6e4649
@ -47,7 +47,11 @@ this.GMPUtils = {
|
||||
*/
|
||||
_isPluginSupported: function(aPlugin) {
|
||||
if (aPlugin.id == EME_ADOBE_ID) {
|
||||
return false;
|
||||
if (Services.appinfo.OS == "WINNT") {
|
||||
return Services.sysinfo.getPropertyAsInt32("version") >= 6;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
},
|
||||
|
@ -375,8 +375,13 @@ add_task(function* testEmeSupport() {
|
||||
let doc = gManagerWindow.document;
|
||||
let item = get_addon_element(gManagerWindow, addon.id);
|
||||
if (addon.id == GMPScope.EME_ADOBE_ID) {
|
||||
Assert.ok(!item,
|
||||
"Adobe EME not supported, couldn't find add-on element.");
|
||||
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.");
|
||||
}
|
||||
} else {
|
||||
Assert.ok(item, "Found add-on element.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user