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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/textarea-submit-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea-submit-crash.html b/third_party/WebKit/LayoutTests/fast/forms/textarea-submit-crash.html
deleted file mode 100644
index 939cdac933cc8606faf0e34ede8ec2f43900572f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea-submit-crash.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<p>This tests that a display:none textarea doesn't crash when submitted in a form.</p>
-<form action="?" id="form">
- <textarea id="textarea" name=value style="-webkit-appearance:textarea" wrap=hard>123456789</textarea>
-</form>
-
-<pre id="console"></pre>
-
-<script>
-function log(s) {
- document.getElementById('console').appendChild(document.createTextNode(s + "\n"));
-}
-
-(function () {
- if (document.URL.indexOf('?') == -1) {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- document.getElementById("textarea").style.display = "none";
- document.getElementById("form").submit();
- return;
- }
-
- log("PASS: You didn't crash.");
- log("Submitted form value: " + location.search);
-
- if (window.testRunner)
- testRunner.notifyDone();
-})();
-</script>

Powered by Google App Engine
This is Rietveld 408576698