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

Unified Diff: LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea.html

Issue 236733005: Remove redundant crash tests using Selection.modify("-webkit-visual-word"). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea.html
diff --git a/LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea.html b/LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea.html
deleted file mode 100644
index 96f96e9a499a275289f028be014d0cc350e95f5b..0000000000000000000000000000000000000000
--- a/LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<script>
-
-onload = function() {
- var sel = window.getSelection();
- sel.empty();
-
- var test = document.getElementById("test_move_by_word");
- test.focus();
- test.selectionDirection = 'none';
- test.selectionStart = 1;
- test.selectionEnd = 1;
-
- getSelection().modify("move", "left", "-webkit-visual-word");
- getSelection().modify("move", "left", "-webkit-visual-word");
- document.body.innerHTML = "Crash test passed";
-};
-
-if (window.testRunner && window.internals) {
- testRunner.dumpAsText();
- internals.settings.setEditingBehavior('win');
-}
-</script>
-
-<textarea dir=ltr title="0|0" id="test_move_by_word">At where are you</textarea>
« no previous file with comments | « no previous file | LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698