Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f0dcf69e2b27e4742cb324de120947ec2012a490 https://github.com/WebKit/WebKit/commit/f0dcf69e2b27e4742cb324de120947ec2012a490 Author: Elijah Sawyers <esawy...@apple.com> Date: 2025-08-30 (Sat, 30 Aug 2025)
Changed paths: M Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionContext.mm Log Message: ----------- Safari crash when opening extension background content that isn't loaded https://bugs.webkit.org/show_bug.cgi?id=298128 rdar://159469302 Reviewed by Brian Weinstein. This patch fixes a crash that was introduced by 299009@main. It was using capture by reference for the completion handler block, causing us to reference deallocated memory. We need to be using makeBlockPtr instead to properly retain the completion handler block for later use. * Source/WebKit/UIProcess/API/Cocoa/WKWebExtensionContext.mm: (-[WKWebExtensionContext loadBackgroundContentWithCompletionHandler:]): Canonical link: https://commits.webkit.org/299355@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes