зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
006317c9b3
Коммит
41c0c8d360
|
@ -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() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче