Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 84f3aa4aa3a4fc9056ddde8fcb2dcab295188600
      
https://github.com/WebKit/WebKit/commit/84f3aa4aa3a4fc9056ddde8fcb2dcab295188600
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    A 
LayoutTests/fast/text-extraction/debug-text-extraction-offscreen-password-fields-expected.txt
    A 
LayoutTests/fast/text-extraction/debug-text-extraction-offscreen-password-fields.html
    M Source/WebCore/page/text-extraction/TextExtraction.cpp

  Log Message:
  -----------
  [AutoFill Debugging] Adjust extraction heuristics to include form elements 
around password fields
https://bugs.webkit.org/show_bug.cgi?id=311425
rdar://173252294

Reviewed by Abrar Rahman Protyasha and Aditya Keerthi.

When the `includeOffscreenPasswordFields` flag is set, make sure we encompass 
forms that contain all
the password fields (not just the "large container" above each password field).

Test: fast/text-extraction/debug-text-extraction-offscreen-password-fields.html

* 
LayoutTests/fast/text-extraction/debug-text-extraction-offscreen-password-fields-expected.txt:
 Added.
* 
LayoutTests/fast/text-extraction/debug-text-extraction-offscreen-password-fields.html:
 Added.
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::extractItem):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to