2011-05-18 Abhishek Arya <inferno@chromium.org>
authorAbhishek Arya <inferno@chromium.org>
Wed, 18 May 2011 19:30:48 +0000 (19:30 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 19 May 2011 19:56:46 +0000 (16:56 -0300)
commit2907a02c6613630da62a5feb34512d40942de25d
tree639f59cae97315e72beb39ef526263570a79463c
parent6eee7bc0b2147d71d48e0e819f21f4f19f83be0b
2011-05-18  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Beth Dakin.

        Tests that we do not crash when prematurely calling removeChild,
        followed by destroy call on table caption.
        https://bugs.webkit.org/show_bug.cgi?id=61083

        * fast/table/table-captions-child-visible-crash-expected.txt: Added.
        * fast/table/table-captions-child-visible-crash.html: Added.
2011-05-18  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Beth Dakin.

        Remove removeChild on table caption since destroy call
        already does that.
        https://bugs.webkit.org/show_bug.cgi?id=61083

        Test: fast/table/table-captions-child-visible-crash.html

        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::recalcCaption):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/table/table-captions-child-visible-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/table/table-captions-child-visible-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderTable.cpp