Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42f4341e3c1b709ecd35df29d4756df51038122e
      
https://github.com/WebKit/WebKit/commit/42f4341e3c1b709ecd35df29d4756df51038122e
  Author: Richard Robinson <[email protected]>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M 
Source/WebCore/page/unified-text-replacement/UnifiedTextReplacementController.mm

  Log Message:
  -----------
  [Writing Tools] Smart replies erases all content in mail compose, fails to 
insert reply, WebKit.content crashes @ com.apple.WebKit: 
IPC::ArgumentCoder<WebKit::CoreIPCData, void>::encode
https://bugs.webkit.org/show_bug.cgi?id=275419
rdar://129697243

Reviewed by Megan Gardner and Aditya Keerthi.

When using Smart Replies, an attributed string was being generated using the 
entire editable content.
However, Smart Replies doesn't actually need any attributed string context at 
all, so fix by returning
an empty attributed string in this case.

* 
Source/WebCore/page/unified-text-replacement/UnifiedTextReplacementController.mm:
(WebCore::UnifiedTextReplacementController::willBeginTextReplacementSession):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to