Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6943cb7a4456b0d5493fc7045ad068b81fe2a5f2
      
https://github.com/WebKit/WebKit/commit/6943cb7a4456b0d5493fc7045ad068b81fe2a5f2
  Author: Pascoe <[email protected]>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M Source/WebCore/editing/cocoa/AutofillElements.cpp
    M Tools/TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm

  Log Message:
  -----------
  [WebAuthn] Compute autofill username if single field with webauthn
https://bugs.webkit.org/show_bug.cgi?id=286978
rdar://144123374

Reviewed by Charlie Wolfe.

Autofill has a heuristic for saying that a single text field with
an autofill fieldName=username is the username field where it should
perform the autofill. However, whenever you perform the steps for processing
the webauthn token, the field value will be webauthn.

This patch updates the special case such that a single text field with the
parsed webauthn field name is recongized as a single username field as well.

Added API test.

* Source/WebCore/editing/cocoa/AutofillElements.cpp:
(WebCore::AutofillElements::computeAutofillElements):

Canonical link: https://commits.webkit.org/289798@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to