Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-hard-linewrap-empty.html

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 </head>
4 <body>
5 <div>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=9537">
6 Bug 9537 REGRESSION: Reproducible crash in WebCore::LayoutTextField::textWithHar dLineBreaks()</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>
10 <input type="submit">
11 </form>
12 <script>
13 if (window.testRunner) {
14 window.testRunner.dumpAsText();
15 window.testRunner.waitUntilDone();
16 }
17
18 if (document.URL.indexOf('?') == -1) {
19 document.f.submit();
20 } else {
21 var formData = document.URL.substring(document.URL.indexOf('?') + 1, documen t.URL.length);
22 if (formData == "textarea=")
23 document.write("Success");
24 else
25 document.write("<div>Failure.</div><div>Expected: textarea=</div><div>Ac tual: " + formData + "</div>");
26
27 if (window.testRunner)
28 window.testRunner.notifyDone();
29 }
30 </script>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698