Index: content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreFocusTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreFocusTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreFocusTest.java |
index f2178a00391894a082545be72544ced0dde16d64..507a24b300b0501bfa80a48f19d4b67ba2ba5e0f 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreFocusTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreFocusTest.java |
@@ -51,9 +51,8 @@ public class ContentViewCoreFocusTest extends ContentShellTestBase { |
@UiThreadTest |
@RerunWithUpdatedContainerView |
@SmallTest |
- public void testHideImeOnLosingFocus() throws Throwable { |
- // Test the IME window is hidden from the content view when the content |
- // view loses its focus |
+ public void testDoNotHideImeOnLosingFocus() throws Throwable { |
+ // Tests that the IME window does not get hidden when the content view loses its focus. |
final ContentViewCore contentViewCore = getContentViewCore(); |
final View view = contentViewCore.getContainerView(); |
assertTrue(view.requestFocus()); |
@@ -68,8 +67,7 @@ public class ContentViewCoreFocusTest extends ContentShellTestBase { |
assertTrue(urlBox.requestFocus()); |
- // Now another view has taken focus. The original view loses its focus |
- // and the input method window should be hidden |
- assertTrue(immw.isHidden()); |
+ // When another view (URL box) takes focus, we do not hide the IME window. |
+ assertFalse(immw.isHidden()); |
Changwan Ryu
2016/10/19 05:10:21
Hmm... This test depends on the real behavior of t
yabinh
2016/10/24 01:40:57
Done.
|
} |
} |