cros: Do not force focus for user pods without password field
It should be fine to remove the entire code path within |focusInput| with |opt_ensureFocus| == true, since the original bug crbug.com/725622 was fixed by reverting another CL. However to be safe, this CL only affects user pods without password input field. The cause of the bug might be: when clicking the pod that requires online sign-in (ie. the pod that does not display a password field), the focus immediately goes to the GAIA sign-in page, so the pod never gets the chance to remove the focus listener. When the GAIA page is closed, the pod is still trying to steal focus. It's observed that the issue doesn't exist if the GAIA page is not opened. Bug: 778371 Change-Id: Ib4f39798fa60bc0cf72bbfd67c7fe8e997f7eedb Reviewed-on: https://chromium-review.googlesource.com/950475Reviewed-by:Alexander Alekseev <alemate@chromium.org> Commit-Queue: Wenzhao (Colin) Zang <wzang@chromium.org> Cr-Commit-Position: refs/heads/master@{#541628}
Showing
Please register or sign in to comment