# HG changeset patch # Parent 4175f5d931e8d9ff64c03c2b5e5ee88a1f7a7291 # User Scott Johnson Bug 666446 - Basic gif animation functionality test. [r=JOEDREW\!] diff --git a/modules/libpr0n/test/mochitest/Makefile.in b/modules/libpr0n/test/mochitest/Makefile.in --- a/modules/libpr0n/test/mochitest/Makefile.in +++ b/modules/libpr0n/test/mochitest/Makefile.in @@ -88,17 +88,21 @@ _TEST_FILES = imgutils.js \ test_bug671906.html \ $(NULL) # Tests disabled due to intermittent orange # test_bug435296.html disabled - See bug 578591 # test_bug478398.html disabled - See bug 579139 _CHROME_FILES = imgutils.js \ + animationPolling.js \ lime-anim-100x100.svg \ test_animSVGImage.html \ + test_animation.html \ + animated-gif-finalframe.gif \ + animated-gif.gif \ $(NULL) libs:: $(_TEST_FILES) $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir) libs:: $(_CHROME_FILES) $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir) diff --git a/modules/libpr0n/test/mochitest/animated-gif-finalframe.gif b/modules/libpr0n/test/mochitest/animated-gif-finalframe.gif new file mode 100644 index 0000000000000000000000000000000000000000..4e80d31a727fc725326082d71ba42ccd33bf3b49 GIT binary patch literal 72 zc${3@AOMLlFsZlnuRQ&hfAO3xx4Jjq+w+^h?UBc{ bXPwJlo!a(}`}ilH>)(2x|2n74%3uuu*a9G= diff --git a/modules/libpr0n/test/mochitest/animated-gif.gif b/modules/libpr0n/test/mochitest/animated-gif.gif new file mode 100644 index 0000000000000000000000000000000000000000..001cbfb87a05e518f53707a4237a7034d2111344 GIT binary patch literal 146 zc${x%p!k!8fs5fkgAM}_faDpN)O-3@o_@=}c+Qqv x-J9?2`OV+<$Ya{G&SkGoZF|Rk{FBf1Z@tfdol|CI0P1DrVqiqk+d`yXYXIPpLiGRu diff --git a/modules/libpr0n/test/mochitest/test_animation.html b/modules/libpr0n/test/mochitest/test_animation.html new file mode 100644 --- /dev/null +++ b/modules/libpr0n/test/mochitest/test_animation.html @@ -0,0 +1,46 @@ + + + + + Test for Bug 666446 - General Animated GIF Test + + + + + + + + + +Mozilla Bug 666446: lots of animated gifs swamp us with paint events + +

+ +
+
+
+ +
+
+ +
+
+
+
+ +