
This CL reverts https://chromium-review.googlesource.com/c/chromium/src/+/1351151 that removed the input context restriction from password field. This is because it is normal for Mac OS X password input fields to not allow dead keys or non ASCII input methods. There is also a privacy risk if the composition candidate window shows your password when the user is "composing" inside a password field. I think we should just disable IMEs for password field until we find a solution that allows dead keys but doesn't show any suggestion or autocorrects words. Bug: 1196101, 895434 Change-Id: I9b26090926368f4ee047ea1222dab93df822321e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2827360 Commit-Queue: Anupam Snigdha <snianu@microsoft.com> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#873002}