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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/move-by-character-crash-test-textarea.html

Issue 1809963002: [Editing][CodeHealth] Use w3c testharness in editing/seletion/move-by-* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 9 months 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/editing/selection/move-by-character-crash-test-textarea.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/move-by-character-crash-test-textarea.html b/third_party/WebKit/LayoutTests/editing/selection/move-by-character-crash-test-textarea.html
deleted file mode 100644
index 63fb48c76c50606c7aafce023bda7d9ccd1d405a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/selection/move-by-character-crash-test-textarea.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-This test sets caret at the beginning of backward text and moving the character to left and right. WebKit should not crash and you should see PASS below:
-<textarea id="editor">&#8238;LTR
-</textarea>
-<script>
-onload = function() {
- var sel = window.getSelection();
- sel.empty();
- var test = document.getElementById("editor");
- test.focus();
- test.selectionDirection = 'none';
- test.selectionStart = 0;
- test.selectionEnd = 0;
- getSelection().modify("move", "left", "character");
- getSelection().modify("move", "left", "character");
- test.selectionDirection = 'none';
- test.selectionStart = 1;
- test.selectionEnd = 1;
- getSelection().modify("move", "right", "character");
- getSelection().modify("move", "right", "character");
- document.body.innerHTML = "PASS";
-};
-
-if (window.testRunner)
- testRunner.dumpAsText();
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698