2011-06-09 Julien Chaffraix <jchaffraix@webkit.org>
authorJulien Chaffraix <jchaffraix@webkit.org>
Thu, 9 Jun 2011 19:52:27 +0000 (19:52 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 9 Jun 2011 20:33:54 +0000 (17:33 -0300)
commita4967d98bb282a7fc2acb08ed983bff5672aa6e2
tree00c749d2b2a292f191dc4fcf416e33cba4332587
parentbccfdf06ab40960f3f4828aacd3512ab3a131e10
2011-06-09  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Darin Adler.

        Test for WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash
        https://bugs.webkit.org/show_bug.cgi?id=62384

        * fast/css/webkit-keyframes-crash-expected.txt: Added.
        * fast/css/webkit-keyframes-crash.html: Added.
2011-06-09  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Darin Adler.

        WebCore::WebKitCSSKeyframesRuleInternal::nameAttrSetter() - crash
        https://bugs.webkit.org/show_bug.cgi?id=62384

        Test: fast/css/webkit-keyframes-crash.html

        * css/WebKitCSSKeyframesRule.cpp:
        (WebCore::WebKitCSSKeyframesRule::setName): stylesheet() is never garanteed
        to return a non-null pointer. Thus null-check here like the rest of the code.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/webkit-keyframes-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/webkit-keyframes-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/WebKitCSSKeyframesRule.cpp