Changeset 223585 in webkit


Ignore:
Timestamp:
Oct 17, 2017 4:38:26 PM (7 years ago)
Author:
cpugh@apple.com
Message:

[iOS] Don't turn fields yellow after filling credentials
https://bugs.webkit.org/show_bug.cgi?id=178411

Reviewed by Wenson Hsieh.

  • editing/ios/AutofillElements.cpp:

(WebCore::AutofillElements::autofill): We don't want to turn fields yellow when filling the user name
and password. Remove the code that was causing that to happen.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r223580 r223585  
     12017-10-17  Chelsea Pugh  <cpugh@apple.com>
     2
     3        [iOS] Don't turn fields yellow after filling credentials
     4        https://bugs.webkit.org/show_bug.cgi?id=178411
     5
     6        Reviewed by Wenson Hsieh.
     7
     8        * editing/ios/AutofillElements.cpp:
     9        (WebCore::AutofillElements::autofill): We don't want to turn fields yellow when filling the user name
     10        and password. Remove the code that was causing that to happen.
     11
    1122017-10-16  Andy Estes  <aestes@apple.com>
    213
  • trunk/Source/WebCore/editing/ios/AutofillElements.cpp

    r222487 r223585  
    120120void AutofillElements::autofill(String username, String password)
    121121{
    122     if (m_username) {
     122    if (m_username)
    123123        m_username->setValueForUser(username);
    124         m_username->setAutoFilled();
    125     }
    126     if (m_password) {
     124    if (m_password)
    127125        m_password->setValueForUser(password);
    128         m_password->setAutoFilled();
    129     }
    130126}
    131127
Note: See TracChangeset for help on using the changeset viewer.