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

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

Issue 2616623002: Do not send redundant selectionchange-events (decouple focus) (Closed)
Patch Set: Rebase Created 3 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
« 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 61b64b00ee4f73c58fb2ad2b9f9abba121c05260..67ad4dc2e6734d998599b17df5c1ada75327a34c 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, "input_radio");
+ DOMUtils.clickNode(mContentViewCore, "plain_text");
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,selectionchange");
+ waitForEventLogs("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,selectionchange");
+ waitForEventLogs("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,selectionchange");
+ waitForEventLogs("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,selectionchange");
+ waitForEventLogs("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