2011-05-18 Abhishek Arya <inferno@chromium.org>
authorAbhishek Arya <inferno@chromium.org>
Wed, 18 May 2011 10:45:07 +0000 (10:45 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 24 May 2011 18:53:20 +0000 (15:53 -0300)
commite38ff03cd4ec9e67845323c1d04b5e00e429259f
tree451df052e69638626bd92da649b65cc52d11199a
parent2f7126ad8d1ef591034eb7f26121e8d3f58c6c30
2011-05-18  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dirk Schulze.

        Tests that we do not crash when trying to access a removed
        smil element in animated elements list.
        https://bugs.webkit.org/show_bug.cgi?id=60980

        * svg/animations/smil-element-not-removed-crash-expected.txt: Added.
        * svg/animations/smil-element-not-removed-crash.html: Added.
2011-05-18  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dirk Schulze.

        When SMIL element is getting removed, make sure to remove it
        from target's animation elements list.
        https://bugs.webkit.org/show_bug.cgi?id=60980

        Test: svg/animations/smil-element-not-removed-crash.html

        * svg/animation/SVGSMILElement.cpp:
        (WebCore::SVGSMILElement::~SVGSMILElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/animations/smil-element-not-removed-crash-expected.txt [new file with mode: 0644]
LayoutTests/svg/animations/smil-element-not-removed-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/svg/animation/SVGSMILElement.cpp