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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/textarea-checkValidity-crash.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-checkValidity-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/textarea-checkValidity-crash.html b/third_party/WebKit/LayoutTests/fast/forms/textarea-checkValidity-crash.html
deleted file mode 100644
index db78b80ef1d9d885e836a917be8d38fdb9e17aac..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/textarea-checkValidity-crash.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<p id="description">Bug 45681: Assertion failure about dirty flag changes of textarea elements.</p>
-<div id="console"></div>
-<script>
-var ta = document.createElement('textarea');
-ta.setAttribute('maxlength', '1');
-ta.value = 'abc'; // Make it dirty && invalid.
-ta.checkValidity(); // This made an assertion failure.
-testPassed('Not crashed.');
-
-ta.value = 'a'; // Make it dirty && valid.
-ta.defaultValue = 'abc'; // Make it non-dirty && invalid.
-ta.checkValidity(); // This made an assertion fail.
-testPassed('Not crashed.');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698