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