# HG changeset patch # Parent 72531d62299d3e11645ad2ea43abbbbe180b7643 # User Scott Johnson Bug 666446 - Test for initially non-displayed iframe containing an animated image. 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 @@ -105,15 +105,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,50 @@ + + + + +Test for Bug 666446 - Test for Animated Gif within IFRAME + + + + + + + + + + Mozilla Bug 666446: lots of animated gifs swamp us with paint events +

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