Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 41d0d5bc00e7a614ba4a23052ae65d3935ad646e
https://github.com/WebKit/WebKit/commit/41d0d5bc00e7a614ba4a23052ae65d3935ad646e
Author: Wenson Hsieh <[email protected]>
Date: 2026-08-14 (Fri, 14 Aug 2026)
Changed paths:
M Source/WebCore/editing/cocoa/EditorCocoa.mm
M Tools/TestWebKitAPI/Helpers/cocoa/TestWKWebView.h
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/CopyHTML.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/CopyURL.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ImageAnalysisTests.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/UnifiedPDFTests.mm
Log Message:
-----------
Adding a missing null check in
WebCore::attributedStringByReplacingRemoteFrameMarkers
https://bugs.webkit.org/show_bug.cgi?id=321810
rdar://184945791
Reviewed by Aditya Keerthi and Abrar Rahman Protyasha.
Add a missing null check in the case where `selectionAsAttributedString`
returns `nil`.
* Source/WebCore/editing/cocoa/EditorCocoa.mm:
(WebCore::attributedStringByReplacingRemoteFrameMarkers):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ImageAnalysisTests.mm:
(TestWebKitAPI::generalPasteboardContainsRichTextData):
(TestWebKitAPI::stringFromGeneralPasteboard):
(TestWebKitAPI::TEST(ImageAnalysisTests,
CopyImageOverlayTextWithoutAttributedString)):
Canonical link: https://commits.webkit.org/319215@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications