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

Unified Diff: LayoutTests/editing/selection/move-by-word-visually-null-box.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
Index: LayoutTests/editing/selection/move-by-word-visually-null-box.html
diff --git a/LayoutTests/editing/selection/move-by-word-visually-null-box.html b/LayoutTests/editing/selection/move-by-word-visually-null-box.html
deleted file mode 100644
index 6bee12ac4f01ce413962b5d0c9746e3150c27f41..0000000000000000000000000000000000000000
--- a/LayoutTests/editing/selection/move-by-word-visually-null-box.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<script src="resources/move-by-word-visually.js"></script>
-<script src="../../resources/js-test.js"></script>
-<script>
-
-onload = function() {
- try {
- runTest();
-
- // Test NULL VisiblePosition.
- var selection = getSelection();
- selection.setPosition(0, 0);
- selection.modify("move", "right", "-webkit-visual-word");
- document.body.innerHTML = "Crash test passed";
- } finally {
- }
-};
-
-if (window.testRunner && window.internals) {
- testRunner.dumpAsText();
- internals.settings.setEditingBehavior('win');
-}
-</script>
-<div id="console"></div>
-<div id="testMoveByWord">
-<output><div dir=ltr title="0|0" class="test_move_by_word">
-<div class="test_move_by_word" dir=ltr contenteditable title="0|0"></div>
-00<base dir=ltr class="test_move_by_word" title="3|3 1">
-</div>

Powered by Google App Engine
This is Rietveld 408576698