From b51091f4a3f79dd541f109391592561a8d93cc19 Mon Sep 17 00:00:00 2001 From: Jonathan Griffin Date: Wed, 5 Aug 2009 10:32:20 -0700 Subject: [PATCH] Add mochitest for bug 502091. --- parser/htmlparser/tests/mochitest/Makefile.in | 2 + .../tests/mochitest/bug_502091_iframe.html | 17 +++++++ .../tests/mochitest/test_bug502091.html | 49 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 parser/htmlparser/tests/mochitest/bug_502091_iframe.html create mode 100644 parser/htmlparser/tests/mochitest/test_bug502091.html diff --git a/parser/htmlparser/tests/mochitest/Makefile.in b/parser/htmlparser/tests/mochitest/Makefile.in index 94bc81dbe34..dcddf627295 100644 --- a/parser/htmlparser/tests/mochitest/Makefile.in +++ b/parser/htmlparser/tests/mochitest/Makefile.in @@ -57,6 +57,8 @@ _TEST_FILES = parser_datreader.js \ test_bug396568.html \ test_bug418464.html \ test_bug460437.xhtml \ + test_bug502091.html \ + bug_502091_iframe.html \ test_compatmode.html \ regressions.txt \ invalidchar.xml \ diff --git a/parser/htmlparser/tests/mochitest/bug_502091_iframe.html b/parser/htmlparser/tests/mochitest/bug_502091_iframe.html new file mode 100644 index 00000000000..72cdc242cd0 --- /dev/null +++ b/parser/htmlparser/tests/mochitest/bug_502091_iframe.html @@ -0,0 +1,17 @@ + + +Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML + + +
+ testdiv +
+ +some text here + + + diff --git a/parser/htmlparser/tests/mochitest/test_bug502091.html b/parser/htmlparser/tests/mochitest/test_bug502091.html new file mode 100644 index 00000000000..753fb5f0ebe --- /dev/null +++ b/parser/htmlparser/tests/mochitest/test_bug502091.html @@ -0,0 +1,49 @@ + + + + + Test for Bug 502091 + + + + + +Mozilla Bug 502091 +

+ +
+ +
+ + +