[Extra zoom mode] Specify password mode as needed when inputting text
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Mar 2018 08:16:10 +0000 (08:16 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Mar 2018 08:16:10 +0000 (08:16 +0000)
commit6ef029063bb8c314c806f57f12490432527a8a0a
tree12a2276ceade79d0c6ec889bbb52fd3cecff63f1
parent77c6e2ad1a002991bdd86cc7ff2951f6361fce30
[Extra zoom mode] Specify password mode as needed when inputting text
https://bugs.webkit.org/show_bug.cgi?id=183428
<rdar://problem/37609386>

Reviewed by Tim Horton.

If the focused element is a password field, or the input delegate has forced secure text entry, set a flag on
the text input view controller to opt in to password text input mode.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView presentTextInputViewController:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229399 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm