зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1655846
- Hit MOZ_CRASH(assertion failed: `(left == right)` left: `1024`, right: `0`). r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D87003
This commit is contained in:
Родитель
b4c699ff11
Коммит
9dd9082896
|
@ -523,6 +523,11 @@ ImageTestCase CorruptICOWithBadBppTestCase() {
|
|||
IntSize(100, 100), TEST_CASE_IS_TRANSPARENT);
|
||||
}
|
||||
|
||||
ImageTestCase CorruptAVIFTestCase() {
|
||||
return ImageTestCase("bug-1655846.avif", "image/avif", IntSize(100, 100),
|
||||
TEST_CASE_HAS_ERROR);
|
||||
}
|
||||
|
||||
ImageTestCase TransparentPNGTestCase() {
|
||||
return ImageTestCase("transparent.png", "image/png", IntSize(32, 32),
|
||||
TEST_CASE_IS_TRANSPARENT);
|
||||
|
|
|
@ -799,6 +799,16 @@ TEST_F(ImageDecoders, CorruptICOWithBadBppSingleChunk) {
|
|||
CheckDecoderSingleChunk(CorruptICOWithBadBppTestCase());
|
||||
}
|
||||
|
||||
// Running this test under emulation for Android 7 on x86_64 seems to result
|
||||
// in the large allocation succeeding, but leaving so little memory left the
|
||||
// system falls over and it kills the test run, so we skip it instead.
|
||||
// See bug 1655846 for more details.
|
||||
#ifndef ANDROID
|
||||
TEST_F(ImageDecoders, CorruptAVIFSingleChunk) {
|
||||
CheckDecoderSingleChunk(CorruptAVIFTestCase());
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST_F(ImageDecoders, AnimatedGIFWithFRAME_FIRST) {
|
||||
CheckDecoderFrameFirst(GreenFirstFrameAnimatedGIFTestCase());
|
||||
}
|
||||
|
|
Двоичный файл не отображается.
|
@ -49,6 +49,7 @@ TEST_HARNESS_FILES.gtest += [
|
|||
'blend.gif',
|
||||
'blend.png',
|
||||
'blend.webp',
|
||||
'bug-1655846.avif',
|
||||
'corrupt-with-bad-bmp-height.ico',
|
||||
'corrupt-with-bad-bmp-width.ico',
|
||||
'corrupt-with-bad-ico-bpp.ico',
|
||||
|
|
Загрузка…
Ссылка в новой задаче