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

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

Issue 2694823002: Revert of Make FrameSelection to hold non-canonicalized positions (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into patch_revert 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/editing/execCommand/crash-indenting-list-item.html » ('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 aaebaf706396315786396a0836c1e3d1334bc514..9401829c213ade4070d443b75bc2b5dd1f073fb8 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,11 +799,12 @@ public class ImeTest extends ContentShellTestBase {
paste();
// Paste is a two step process when there is a non-zero selection.
- waitAndVerifyUpdateSelection(2, 8, 8, -1, -1);
+ waitAndVerifyUpdateSelection(2, 3, 3, -1, -1);
+ waitAndVerifyUpdateSelection(3, 8, 8, -1, -1);
assertTextsAroundCursor("blablarg", null, "");
paste();
- waitAndVerifyUpdateSelection(3, 13, 13, -1, -1);
+ waitAndVerifyUpdateSelection(4, 13, 13, -1, -1);
assertTextsAroundCursor("blablargblarg", null, "");
}
@@ -1327,7 +1328,8 @@ 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");
+ waitForEventLogs("keydown(229),input,input,keyup(229),selectionchange,selectionchange,"
+ + "selectionchange,selectionchange");
}
@MediumTest
@@ -1346,7 +1348,8 @@ 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");
+ waitForEventLogs("keydown(229),input,input,keyup(229),selectionchange,selectionchange,"
+ + "selectionchange,selectionchange");
}
@MediumTest
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/crash-indenting-list-item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698