5 <div>Test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=9537">
6 Bug
9537 REGRESSION: Reproducible crash in WebCore::LayoutTextField::textWithHardLineBreaks()
</a></div>
7 <div>https://bugs.webkit.org/show_bug.cgi?id=
9537</div>
8 <form name=
"f" method=
"get" action=
"textarea-hard-linewrap-empty.html">
9 <textarea id=
"textarea" name=
"textarea" wrap=
"hard" cols=
"5"></textarea>
13 if (window
.testRunner
) {
14 window
.testRunner
.dumpAsText();
15 window
.testRunner
.waitUntilDone();
18 if (document
.URL
.indexOf('?') == -1) {
21 var formData
= document
.URL
.substring(document
.URL
.indexOf('?') + 1, document
.URL
.length
);
22 if (formData
== "textarea=")
23 document
.write("Success");
25 document
.write("<div>Failure.</div><div>Expected: textarea=</div><div>Actual: " + formData
+ "</div>");
27 if (window
.testRunner
)
28 window
.testRunner
.notifyDone();