From 4ac55ef20d38dc5c1a02a26725035271897e8e69 Mon Sep 17 00:00:00 2001 From: "jchaffraix@webkit.org" Date: Tue, 27 Sep 2011 17:18:06 +0000 Subject: [PATCH] Crash in WebCore::HTMLParser::createHead https://bugs.webkit.org/show_bug.cgi?id=32426 Reviewed by Darin Adler. The crash was fixed some time ago but the test was not landed which kept the bug open. * fast/parser/crash-HTMLParser-createHead.html: Added. Tweaked the test case as we now throw an exception (DOM Exception 12). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96124 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 12 ++++++++++++ .../fast/parser/crash-HTMLParser-createHead-expected.txt | 3 +++ LayoutTests/fast/parser/crash-HTMLParser-createHead.html | 15 +++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 LayoutTests/fast/parser/crash-HTMLParser-createHead-expected.txt create mode 100644 LayoutTests/fast/parser/crash-HTMLParser-createHead.html diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 10a9cbf..61514cb 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,5 +1,17 @@ 2011-09-27 Julien Chaffraix + Crash in WebCore::HTMLParser::createHead + https://bugs.webkit.org/show_bug.cgi?id=32426 + + Reviewed by Darin Adler. + + The crash was fixed some time ago but the test was not landed which kept the bug open. + + * fast/parser/crash-HTMLParser-createHead.html: Added. + Tweaked the test case as we now throw an exception (DOM Exception 12). + +2011-09-27 Julien Chaffraix + Crash because CSSPrimitiveValue::computeLengthDouble assumes fontMetrics are available https://bugs.webkit.org/show_bug.cgi?id=66291 diff --git a/LayoutTests/fast/parser/crash-HTMLParser-createHead-expected.txt b/LayoutTests/fast/parser/crash-HTMLParser-createHead-expected.txt new file mode 100644 index 0000000..8f87eee --- /dev/null +++ b/LayoutTests/fast/parser/crash-HTMLParser-createHead-expected.txt @@ -0,0 +1,3 @@ +Test for bug 32426: Crash in WebCore::HTMLParser::createHead + +This test PASSED as it did not CRASH nor ASSERTED. diff --git a/LayoutTests/fast/parser/crash-HTMLParser-createHead.html b/LayoutTests/fast/parser/crash-HTMLParser-createHead.html new file mode 100644 index 0000000..d6f7407 --- /dev/null +++ b/LayoutTests/fast/parser/crash-HTMLParser-createHead.html @@ -0,0 +1,15 @@ + + -- 2.7.4