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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java

Issue 2680943004: Make FrameSelection to hold non-canonicalized positions (Closed)
Patch Set: 2014-02-14T23:34:22 Update TestExpectation to include extend-{0,2,4}0.html and selectAllChildren.html Created 3 years, 10 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 | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
index 9401829c213ade4070d443b75bc2b5dd1f073fb8..aaebaf706396315786396a0836c1e3d1334bc514 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java
@@ -799,12 +799,11 @@ public class ImeTest extends ContentShellTestBase {
paste();
// Paste is a two step process when there is a non-zero selection.
- waitAndVerifyUpdateSelection(2, 3, 3, -1, -1);
- waitAndVerifyUpdateSelection(3, 8, 8, -1, -1);
+ waitAndVerifyUpdateSelection(2, 8, 8, -1, -1);
assertTextsAroundCursor("blablarg", null, "");
paste();
- waitAndVerifyUpdateSelection(4, 13, 13, -1, -1);
+ waitAndVerifyUpdateSelection(3, 13, 13, -1, -1);
assertTextsAroundCursor("blablargblarg", null, "");
}
@@ -1328,8 +1327,7 @@ public class ImeTest extends ContentShellTestBase {
deleteSurroundingText(1, 1);
waitAndVerifyUpdateSelection(2, 1, 1, -1, -1);
// TODO(yabinh): It should only fire 1 input and 1 selectionchange events.
- waitForEventLogs("keydown(229),input,input,keyup(229),selectionchange,selectionchange,"
- + "selectionchange,selectionchange");
+ waitForEventLogs("keydown(229),input,input,keyup(229),selectionchange,selectionchange");
}
@MediumTest
@@ -1348,8 +1346,7 @@ public class ImeTest extends ContentShellTestBase {
deleteSurroundingText(1, 1);
waitAndVerifyUpdateSelection(2, 1, 1, -1, -1);
// TODO(yabinh): It should only fire 1 input and 1 selectionchange events.
- waitForEventLogs("keydown(229),input,input,keyup(229),selectionchange,selectionchange,"
- + "selectionchange,selectionchange");
+ waitForEventLogs("keydown(229),input,input,keyup(229),selectionchange,selectionchange");
}
@MediumTest
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698