Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 12b2b07ee6d1e90c5d396c3e38f34966f99a02f1
      
https://github.com/WebKit/WebKit/commit/12b2b07ee6d1e90c5d396c3e38f34966f99a02f1
  Author: Wenson Hsieh <[email protected]>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    A 
LayoutTests/fast/text-extraction/debug-text-extraction-svg-sprite-sheet-expected.txt
    A 
LayoutTests/fast/text-extraction/debug-text-extraction-svg-sprite-sheet.html
    M Source/WebCore/page/text-extraction/TextExtraction.cpp

  Log Message:
  -----------
  Safari MCP: default text extraction on www.yelp.com contains many hidden SVG 
elements
https://bugs.webkit.org/show_bug.cgi?id=321371
rdar://184323683

Reviewed by Richard Robinson.

Avoid pathological context window bloat on Yelp, by skipping hidden SVG 
containers.

Test: fast/text-extraction/debug-text-extraction-svg-sprite-sheet.html

* 
LayoutTests/fast/text-extraction/debug-text-extraction-svg-sprite-sheet-expected.txt:
 Added.
* LayoutTests/fast/text-extraction/debug-text-extraction-svg-sprite-sheet.html: 
Added.
* Source/WebCore/page/text-extraction/TextExtraction.cpp:
(WebCore::TextExtraction::extractItemData):

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



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

Reply via email to