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

  Changed paths:
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-all-container-uids-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-autofill-button-expected.txt
    M LayoutTests/fast/text-extraction/debug-text-extraction-basic-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-2-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-ignore-autofilled-fields-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-lightweight-discretionary-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-lightweight-expected.txt
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-offscreen-password-fields-expected.txt
    M 
LayoutTests/http/tests/text-extraction/debug-text-extraction-subframes-expected.txt
    M Source/WebKit/Shared/TextExtractionToStringConversion.cpp

  Log Message:
  -----------
  [AutoFill Debugging] Elide the type for extracted text fields when possible
https://bugs.webkit.org/show_bug.cgi?id=311884

Reviewed by Abrar Rahman Protyasha, Aditya Keerthi, and Megan Gardner.

Skip adding the `type` attribute for text fields, in the case where they're 
redundant with other DOM
attributes. Additionally, remove extraneous quotes around the type string.

* 
LayoutTests/fast/text-extraction/debug-text-extraction-all-container-uids-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-autofill-button-expected.txt:
* LayoutTests/fast/text-extraction/debug-text-extraction-basic-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-2-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-form-controls-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-ignore-autofilled-fields-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-lightweight-discretionary-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-lightweight-expected.txt:
* 
LayoutTests/fast/text-extraction/debug-text-extraction-offscreen-password-fields-expected.txt:
* 
LayoutTests/http/tests/text-extraction/debug-text-extraction-subframes-expected.txt:
* Source/WebKit/Shared/TextExtractionToStringConversion.cpp:
(WebKit::addPartsForItem):

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



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

Reply via email to