# HG changeset patch # Parent fd033d2c91b4c4be61d317a8d56a4205b169ea86 # User Scott Johnson Bug 666446 - Basic animated gif functionality test. 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,22 @@ _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-frame1.gif \ + animated-gif-frame2.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-frame1.gif b/modules/libpr0n/test/mochitest/animated-gif-frame1.gif new file mode 100644 index 0000000000000000000000000000000000000000..36c00321ed56fe2e938666eee0aceff96d6c1f99 GIT binary patch literal 80 zc${5{)-0I$Z jZ_jW3wnrY*o^>vJb!yu??&F_)u7B%&{_C7FD}yxvj;kWG diff --git a/modules/libpr0n/test/mochitest/animated-gif-frame2.gif b/modules/libpr0n/test/mochitest/animated-gif-frame2.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 + +

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