Disable bad gif decode on CG
This will save me the trouble of triaging this bad image over and
over again :).
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1811943002
Review URL: https://codereview.chromium.org/1811943002
diff --git a/tools/dm_flags.json b/tools/dm_flags.json
index 4edcff3..c2006cd 100644
--- a/tools/dm_flags.json
+++ b/tools/dm_flags.json
@@ -66,6 +66,10 @@
"image",
"gen_platf",
"24bpp-pixeldata-cropped.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "frame_larger_than_image.gif",
"serialize-8888",
"gm",
"_",
@@ -2011,6 +2015,10 @@
"image",
"gen_platf",
"24bpp-pixeldata-cropped.bmp",
+ "_",
+ "image",
+ "gen_platf",
+ "frame_larger_than_image.gif",
"serialize-8888",
"gm",
"_",
diff --git a/tools/dm_flags.py b/tools/dm_flags.py
index 0de32fc..2e3ba7f 100755
--- a/tools/dm_flags.py
+++ b/tools/dm_flags.py
@@ -113,8 +113,8 @@
blacklist.extend('_ image _ interlaced2.png'.split(' '))
blacklist.extend('_ image _ interlaced3.png'.split(' '))
- # CG fails on questionable bmps
if 'Mac' in bot or 'iOS' in bot:
+ # CG fails on questionable bmps
blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' '))
blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' '))
blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' '))
@@ -122,6 +122,10 @@
blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' '))
blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' '))
blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' '))
+
+ # CG has unpredictable behavior on this questionable gif
+ # It's probably using uninitialized memory
+ blacklist.extend('_ image gen_platf frame_larger_than_image.gif'.split(' '))
# skia:4095
for test in ['not_native32_bitmap_config',