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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-input-event.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-input-event.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/resources/textarea-input-event.js b/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-input-event.html
similarity index 81%
rename from third_party/WebKit/LayoutTests/fast/forms/resources/textarea-input-event.js
rename to third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-input-event.html
index 3330ae8f96b610fe475a4c3e6f5a8ae086040a72..452530d4f24185f1c5dc65ca34741168df7eaae4 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/resources/textarea-input-event.js
+++ b/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-input-event.html
@@ -1,3 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../../resources/js-test.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+
+<div oninput="handleDivOnInput(event)">
+ <textarea id="ta">before</textarea>
+</div>
+
+<script>
description('Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=15189">https://bugs.webkit.org/show_bug.cgi?id=15189</a><br>');
var handleTextareaOnInputCallCount = 0;
@@ -42,3 +56,6 @@ if (window.eventSender) {
shouldEvaluateTo('handleTextareaOnInputCallCount', 1);
shouldEvaluateTo('handleDivOnInputCallCount', 1);
}
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698