From 96c28acc1b7986b1599bf1874c93df199d085302 Mon Sep 17 00:00:00 2001 From: Joe Drew Date: Fri, 15 Feb 2013 11:49:54 -0500 Subject: [PATCH] Bug 841579 - Tests to make sure that removing elements from a document midway through load don't inhibit onload. rs=khuey --HG-- extra : rebase_source : 4ac911cdb4039a8e1a0531b7171e4f5cf3641bef --- image/test/mochitest/Makefile.in | 7 + .../test/mochitest/test_removal_ondecode.html | 127 ++++++++++++++++++ image/test/mochitest/test_removal_onload.html | 127 ++++++++++++++++++ 3 files changed, 261 insertions(+) create mode 100644 image/test/mochitest/test_removal_ondecode.html create mode 100644 image/test/mochitest/test_removal_onload.html diff --git a/image/test/mochitest/Makefile.in b/image/test/mochitest/Makefile.in index 93a83f2a740..8c508bf8282 100644 --- a/image/test/mochitest/Makefile.in +++ b/image/test/mochitest/Makefile.in @@ -101,6 +101,13 @@ MOCHITEST_CHROME_FILES = imgutils.js \ test_net_failedtoprocess.html \ invalid.jpg \ damon.jpg \ + test_removal_onload.html \ + test_removal_ondecode.html \ + invalid.jpg \ + bad.jpg \ + rillybad.jpg \ + red.png \ + lime100x100.svg \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/image/test/mochitest/test_removal_ondecode.html b/image/test/mochitest/test_removal_ondecode.html new file mode 100644 index 00000000000..26b926128fd --- /dev/null +++ b/image/test/mochitest/test_removal_ondecode.html @@ -0,0 +1,127 @@ + + + + + Test for Bug 841579 + + + + + + +Mozilla Bug 841579 +

+
+
+
+
+
+ + diff --git a/image/test/mochitest/test_removal_onload.html b/image/test/mochitest/test_removal_onload.html new file mode 100644 index 00000000000..e6705b33f46 --- /dev/null +++ b/image/test/mochitest/test_removal_onload.html @@ -0,0 +1,127 @@ + + + + + Test for Bug 841579 + + + + + + +Mozilla Bug 841579 +

+
+
+
+
+
+ +