Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df70fa02c45286aed334dc76b2d9e213908f851c
https://github.com/WebKit/WebKit/commit/df70fa02c45286aed334dc76b2d9e213908f851c
Author: Wenson Hsieh <[email protected]>
Date: 2026-04-08 (Wed, 08 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/fast/text-extraction/debug-text-extraction-scrolling-expected.txt
M
LayoutTests/fast/text-extraction/debug-text-extraction-select-options-expected.txt
M
LayoutTests/fast/text-extraction/debug-text-extraction-shorten-urls-expected.txt
M
LayoutTests/http/tests/text-extraction/debug-text-extraction-subframes-expected.txt
M Source/WebKit/Shared/TextExtractionToStringConversion.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextExtractionTests.mm
Log Message:
-----------
[AutoFill Debugging] Further streamline text tree output format
https://bugs.webkit.org/show_bug.cgi?id=311732
rdar://174324147
Reviewed by Abrar Rahman Protyasha and Aditya Keerthi.
Make various adjustments to further streamline text-tree output:
1. Remove extraneous commas between attributes
2. Skip `events=…` in the output altogether
3. Remove single quotes around text attributes without spaces
4. Elide `aria-disabled='false'` or `disabled=false`
5. Skip `aria-label=…` and `label=…` if the first text child contains the
attribute value
6. Replace all `aria-…` with just `…`
*
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/fast/text-extraction/debug-text-extraction-scrolling-expected.txt:
*
LayoutTests/fast/text-extraction/debug-text-extraction-select-options-expected.txt:
*
LayoutTests/fast/text-extraction/debug-text-extraction-shorten-urls-expected.txt:
*
LayoutTests/http/tests/text-extraction/debug-text-extraction-subframes-expected.txt:
Rebaseline various tests.
* Source/WebKit/Shared/TextExtractionToStringConversion.cpp:
(WebKit::TextExtractionAggregator::addResult):
(WebKit::quoteValue):
(WebKit::partsForItem):
(WebKit::addPartsForItem):
See above.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextExtractionTests.mm:
(TestWebKitAPI::TEST(TextExtractionTests, TargetNodeAndClientAttributes)):
(TestWebKitAPI::TEST(TextExtractionTests, FilterRedundantTextInLinks)):
(TestWebKitAPI::TEST(TextExtractionTests, RequestJSHandleForNodeIdentifier)):
(TestWebKitAPI::TEST(TextExtractionTests,
RequestJSHandleForNodeIdentifierCaseSensitive)):
(TestWebKitAPI::TEST(TextExtractionTests, ResolveTargetNodeFromSelectorData)):
(TestWebKitAPI::TEST(TextExtractionTests, SubframeInteractions)):
(TestWebKitAPI::(TextExtractionTests, ShortenURLsWithTopHostName)):
Canonical link: https://commits.webkit.org/310793@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications