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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-submit-crash.html

Issue 1524663002: Move textarea-related tests to fast/forms/textarea/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
1 <p>This tests that a display:none textarea doesn't crash when submitted in a for m.</p> 1 <p>This tests that a display:none textarea doesn't crash when submitted in a for m.</p>
2 <form action="?" id="form"> 2 <form action="?" id="form">
3 <textarea id="textarea" name=value style="-webkit-appearance:textarea" wrap= hard>123456789</textarea> 3 <textarea id="textarea" name=value style="-webkit-appearance:textarea" wrap= hard>123456789</textarea>
4 </form> 4 </form>
5 5
6 <pre id="console"></pre> 6 <pre id="console"></pre>
7 7
8 <script> 8 <script>
9 function log(s) { 9 function log(s) {
10 document.getElementById('console').appendChild(document.createTextNode(s + " \n")); 10 document.getElementById('console').appendChild(document.createTextNode(s + " \n"));
(...skipping 11 matching lines...) Expand all
22 return; 22 return;
23 } 23 }
24 24
25 log("PASS: You didn't crash."); 25 log("PASS: You didn't crash.");
26 log("Submitted form value: " + location.search); 26 log("Submitted form value: " + location.search);
27 27
28 if (window.testRunner) 28 if (window.testRunner)
29 testRunner.notifyDone(); 29 testRunner.notifyDone();
30 })(); 30 })();
31 </script> 31 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698