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

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

Issue 2791753002: Revert of Reland: Do not send redundant selectionchange-events (Closed)
Patch Set: Add a NeedsRebaseline to manage conflict with http://crrev.com/460732 Created 3 years, 9 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 | content/test/data/android/input/input_forms.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 67ad4dc2e6734d998599b17df5c1ada75327a34c..61b64b00ee4f73c58fb2ad2b9f9abba121c05260 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
@@ -785,7 +785,7 @@ public class ImeTest extends ContentShellTestBase {
DOMUtils.longPressNode(mContentViewCore, "input_text");
assertWaitForKeyboardStatus(true);
assertWaitForSelectActionBarStatus(true);
- DOMUtils.clickNode(mContentViewCore, "plain_text");
+ DOMUtils.clickNode(mContentViewCore, "input_radio");
assertWaitForKeyboardStatus(false);
assertWaitForSelectActionBarStatus(false);
}
@@ -1317,7 +1317,7 @@ public class ImeTest extends ContentShellTestBase {
@Feature({"TextInput"})
public void testContentEditableEvents_ComposingText() throws Throwable {
focusElementAndWaitForStateUpdate("contenteditable_event");
- waitForEventLogs("selectionchange");
+ waitForEventLogs("selectionchange,selectionchange");
clearEventLogs();
setComposingText("a", 1);
@@ -1352,7 +1352,7 @@ public class ImeTest extends ContentShellTestBase {
@Feature({"TextInput"})
public void testContentEditableEvents_CommitText() throws Throwable {
focusElementAndWaitForStateUpdate("contenteditable_event");
- waitForEventLogs("selectionchange");
+ waitForEventLogs("selectionchange,selectionchange");
clearEventLogs();
commitText("a", 1);
@@ -1374,7 +1374,7 @@ public class ImeTest extends ContentShellTestBase {
@Feature({"TextInput"})
public void testContentEditableEvents_DeleteSurroundingText() throws Throwable {
focusElementAndWaitForStateUpdate("contenteditable_event");
- waitForEventLogs("selectionchange");
+ waitForEventLogs("selectionchange,selectionchange");
clearEventLogs();
commitText("hello", 1);
@@ -1416,7 +1416,7 @@ public class ImeTest extends ContentShellTestBase {
@Feature({"TextInput"})
public void testContentEditableEvents_DeleteSurroundingTextInCodePoints() throws Throwable {
focusElementAndWaitForStateUpdate("contenteditable_event");
- waitForEventLogs("selectionchange");
+ waitForEventLogs("selectionchange,selectionchange");
clearEventLogs();
commitText("hello", 1);
« no previous file with comments | « no previous file | content/test/data/android/input/input_forms.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698