# HG changeset patch # Parent 7f0e9b39a7042a513d8f1e3a270b46fa38d0701f # User Scott Johnson Bug 666446 - Test for initially non-displayed iframe containing an animated image. [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 @@ -104,15 +104,18 @@ _CHROME_FILES = imgutils.js \ test_svg_animatedGIF.html \ test_bullet_animation.html \ test_background_image_anim.html \ filter.svg \ filter2.svg \ test_svg_filter_animation.html \ test_xultree_animation.xhtml \ test_changeOfSource.html \ + test_undisplayed_iframe.html \ + iframe.html \ + ref-iframe.html \ $(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/iframe.html b/modules/libpr0n/test/mochitest/iframe.html new file mode 100644 --- /dev/null +++ b/modules/libpr0n/test/mochitest/iframe.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/modules/libpr0n/test/mochitest/ref-iframe.html b/modules/libpr0n/test/mochitest/ref-iframe.html new file mode 100644 --- /dev/null +++ b/modules/libpr0n/test/mochitest/ref-iframe.html @@ -0,0 +1,6 @@ + + +
+ + diff --git a/modules/libpr0n/test/mochitest/test_undisplayed_iframe.html b/modules/libpr0n/test/mochitest/test_undisplayed_iframe.html new file mode 100644 --- /dev/null +++ b/modules/libpr0n/test/mochitest/test_undisplayed_iframe.html @@ -0,0 +1,48 @@ + + + + +Test for Bug 666446 - Test for Animated Gif within IFRAME + + + + + + + + + + Mozilla Bug 666446: lots of animated gifs swamp us with paint events +

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