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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs

Issue 2099833002: For a range surrounding a node, set selection index to 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add simple test. Created 4 years, 6 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 | « chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
index ed00e70881b075412a235036f8b38333b4f53b3f..b2d30fc0798bf92404a8b500f91c62aab3ddbb64 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
@@ -369,7 +369,7 @@ TEST_F('CursorsTest', 'MultiLineOffsetSelection', function() {
assertEquals('diff ', secondLine.name);
var secondLineCursor = new cursors.Cursor(secondLine, -1);
- assertEquals(-1, secondLineCursor.selectionIndex_);
+ assertEquals(0, secondLineCursor.selectionIndex_);
secondLineCursor = new cursors.Cursor(secondLine, 0);
secondLineCursor.index = 0;
assertEquals(6, secondLineCursor.selectionIndex_);
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698