[webkit-changes] [WebKit/WebKit] 786fc3: Crash in WebExtensionContext::addListener when Web...
Timothy Hatcher
noreply at github.com
Fri Feb 16 09:06:25 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 786fc33388fb10648646e930125e2e1fa444a022
https://github.com/WebKit/WebKit/commit/786fc33388fb10648646e930125e2e1fa444a022
Author: Timothy Hatcher <timothy at apple.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPIEventCocoa.mm
Log Message:
-----------
Crash in WebExtensionContext::addListener when Web Extension does not have a background page.
https://webkit.org/b/269543
rdar://123052586
Reviewed by David Kilzer.
Make sure m_backgroundWebView is not nil before accessing _page->identifier().
* Source/WebKit/UIProcess/Extensions/Cocoa/API/WebExtensionContextAPIEventCocoa.mm:
(WebKit::WebExtensionContext::addListener):
(WebKit::WebExtensionContext::removeListener):
Canonical link: https://commits.webkit.org/274834@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list