Bug 1314445 - Remove tests for CDM versions specified in keysystem string. r=gerald

MozReview-Commit-ID: F12I1cmfvke

--HG--
extra : rebase_source : 11b2c67353b3fb9affbcd4de53aa5e9cdc9910a6
This commit is contained in:
Chris Pearce 2016-11-02 16:13:45 +13:00
Родитель 006317c9b3
Коммит 41c0c8d360
1 изменённых файлов: 0 добавлений и 56 удалений

Просмотреть файл

@ -465,62 +465,6 @@ var tests = [
],
shouldPass: false,
},
{
name: "CDM version less than",
keySystem: CLEARKEY_KEYSYSTEM + ".0",
options: [
{
label: SUPPORTED_LABEL,
initDataTypes: ['cenc'],
videoCapabilities: [{contentType: 'video/mp4'}],
}
],
expectedConfig: {
label: SUPPORTED_LABEL,
initDataTypes: ['cenc'],
videoCapabilities: [{contentType: 'video/mp4'}],
},
shouldPass: true
},
{
name: "CDM version equal to",
keySystem: CLEARKEY_KEYSYSTEM + ".1",
options: [
{
label: SUPPORTED_LABEL,
initDataTypes: ['cenc'],
videoCapabilities: [{contentType: 'video/mp4'}],
}
],
expectedConfig: {
label: SUPPORTED_LABEL,
initDataTypes: ['cenc'],
videoCapabilities: [{contentType: 'video/mp4'}],
},
shouldPass: true
},
{
name: "CDM version greater than",
keySystem: CLEARKEY_KEYSYSTEM + ".2",
options: [
{
initDataTypes: ['cenc'],
videoCapabilities: [{contentType: 'video/mp4'}],
}
],
shouldPass: false
},
{
name: "Non-whole number CDM version",
keySystem: CLEARKEY_KEYSYSTEM + ".0.1",
options: [
{
initDataTypes: ['cenc'],
videoCapabilities: [{contentType: 'video/mp4'}],
}
],
shouldPass: false
},
];
function beginTest() {