WebCore:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2006 23:55:53 +0000 (23:55 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 25 Jun 2006 23:55:53 +0000 (23:55 +0000)
commitb23511d0ea997cda41ad91fcfb09c5550f42e692
treeb9b59efd5e33786868aee42b4c82e939ca9b79be
parentb8d1a97ced9609de3f74e7540dd7e45b7fd25721
WebCore:

        Reviewed by Darin.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=9537
          REGRESSION: Reproducible crash in WebCore::RenderTextField::textWithHardLineBreaks()

        Test: fast/forms/textarea-hard-linewrap-empty.html

        * rendering/RenderTextField.cpp:
        (WebCore::RenderTextField::textWithHardLineBreaks): Added null check for
        m_div->firstChild()->renderer().

LayoutTests:

        Reviewed by Darin.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=9537
          REGRESSION: Reproducible crash in WebCore::RenderTextField::textWithHardLineBreaks()

        * fast/forms/textarea-hard-linewrap-empty-expected.txt: Added.
        * fast/forms/textarea-hard-linewrap-empty.html: Added.
        * fast/forms/textarea-hard-linewrap.html: Reduced timeout from 200ms to 0ms and
        renamed function from foo() to submitForm().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/textarea-hard-linewrap-empty-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/textarea-hard-linewrap-empty.html [new file with mode: 0644]
LayoutTests/fast/forms/textarea-hard-linewrap.html
WebCore/ChangeLog
WebCore/rendering/RenderTextField.cpp