Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7c4e6fd92a2f21eb7ab7e22130ce07ceab3795f7
      
https://github.com/WebKit/WebKit/commit/7c4e6fd92a2f21eb7ab7e22130ce07ceab3795f7
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-05-25 (Mon, 25 May 2026)

  Changed paths:
    M 
LayoutTests/fast/text-extraction/debug-text-extraction-shorten-urls-expected.txt
    M LayoutTests/fast/text-extraction/debug-text-extraction-shorten-urls.html
    M Source/WebCore/page/text-extraction/TextExtraction.cpp
    M Source/WebCore/page/text-extraction/TextExtractionTypes.h
    M Source/WebKit/Shared/TextExtractionToStringConversion.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  [AutoFill Debugging] Omit URLs for links that navigate to the current page
https://bugs.webkit.org/show_bug.cgi?id=315523
rdar://177900186

Reviewed by Abrar Rahman Protyasha.

When shortening URLs, omit URLs for links if they simply redirect to the same 
webpage.

* 
LayoutTests/fast/text-extraction/debug-text-extraction-shorten-urls-expected.txt:
* LayoutTests/fast/text-extraction/debug-text-extraction-shorten-urls.html:
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::extractItemData):
* Source/WebCore/page/text-extraction/TextExtractionTypes.h:
* Source/WebKit/Shared/TextExtractionToStringConversion.cpp:
(WebKit::addPartsForItem):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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



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

Reply via email to