зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1329547 - Remove media test checks for Vista: Follow-up: Add back check for Windows to fix bustage. r=RyanVM
This commit is contained in:
Родитель
b492741091
Коммит
0e93a37b4f
|
@ -540,7 +540,8 @@ var gErrorTests = [
|
||||||
|
|
||||||
// Windows' H.264 decoder cannot handle H.264 streams with resolution
|
// Windows' H.264 decoder cannot handle H.264 streams with resolution
|
||||||
// less than 48x48 pixels. We refuse to play and error on such streams.
|
// less than 48x48 pixels. We refuse to play and error on such streams.
|
||||||
if (manifestVideo().canPlayType('video/mp4; codecs="avc1.42E01E"')) {
|
if (manifestNavigator().userAgent.includes("Windows") &&
|
||||||
|
manifestVideo().canPlayType('video/mp4; codecs="avc1.42E01E"')) {
|
||||||
gErrorTests = gErrorTests.concat({name: "red-46x48.mp4", type:"video/mp4"},
|
gErrorTests = gErrorTests.concat({name: "red-46x48.mp4", type:"video/mp4"},
|
||||||
{name: "red-48x46.mp4", type:"video/mp4"});
|
{name: "red-48x46.mp4", type:"video/mp4"});
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче