зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1724811 - Disable selection check of Java side on inputConnection_sendKeyEvent. r=geckoview-reviewers,agi
Actually `inputConnection_sendKeyEvent` test is rarely failed such as bug 1676245. Because we have no way to wait for correct selection data. `TextInputDelegate.updateSelection` isn't called when view isn't attached to window like geckoview-junit case. So I would like to comment out this check now. Depends on D124435 Differential Revision: https://phabricator.services.mozilla.com/D124436
This commit is contained in:
Родитель
d60b6a18cc
Коммит
07a531585b
|
@ -578,8 +578,11 @@ class TextInputDelegateTest : BaseSessionTest() {
|
|||
pressKey(ic, KeyEvent.KEYCODE_DPAD_LEFT)
|
||||
ic.sendKeyEvent(KeyEvent.changeAction(shiftKey, KeyEvent.ACTION_UP))
|
||||
promise.value
|
||||
assertTextAndSelection("Can select using key event", ic,
|
||||
"frabar", 6, 5)
|
||||
|
||||
// TODO(m_kato)
|
||||
// Since geckoview-junit doesn't attach View, there is no way to wait for correct selection data
|
||||
// assertTextAndSelection("Can select using key event", ic,
|
||||
// "frabar", 6, 5)
|
||||
|
||||
promise = mainSession.evaluatePromiseJS(
|
||||
when (id) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче