Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f5b16a319610df850cebd752664d9e1852fd858
      
https://github.com/WebKit/WebKit/commit/4f5b16a319610df850cebd752664d9e1852fd858
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-02-06 (Fri, 06 Feb 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

  Log Message:
  -----------
  [AutoFill Debugging] Shorten file URLs to include filtered path components 
only
https://bugs.webkit.org/show_bug.cgi?id=307167
rdar://169803664

Reviewed by Megan Gardner and Richard Robinson.

Adjust the URL shortening heuristic to handle file URLs by leaving behind only 
the path; e.g. from
something like:

`file:///Users/test/089bac2e873e45608912886c4e028584/cat.png`

...to just:

`/Users/test/cat.png`

* 
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):

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



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

Reply via email to