зеркало из https://github.com/mozilla/gecko-dev.git
Bug 946352 - Remove go button workaround in ToolbarComponent.commitEditingMode. r=mcomella
This commit is contained in:
Родитель
6fa77d9265
Коммит
6188945f08
|
@ -132,13 +132,7 @@ public class ToolbarComponent extends BaseComponent {
|
|||
WaitHelper.waitForPageLoad(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (InputMethods.shouldDisableUrlBarUpdate(mActivity)) {
|
||||
// Bug 945521 workaround: Some IMEs do not allow the go button
|
||||
// to be displayed in the toolbar so we hit enter instead.
|
||||
mSolo.sendKey(Solo.ENTER);
|
||||
} else {
|
||||
mSolo.clickOnView(getGoButton());
|
||||
}
|
||||
mSolo.clickOnView(getGoButton());
|
||||
}
|
||||
});
|
||||
waitForNotEditing();
|
||||
|
|
Загрузка…
Ссылка в новой задаче