[webkit-changes] [WebKit/WebKit] 63b67f: WebExtensionContext::handleContentRuleListNotifica...
Brian Weinstein
noreply at github.com
Fri Feb 2 18:18:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 63b67f18d2d22d8100972ddccb5602d2a0700fd9
https://github.com/WebKit/WebKit/commit/63b67f18d2d22d8100972ddccb5602d2a0700fd9
Author: Brian Weinstein <bweinstein at apple.com>
Date: 2024-02-02 (Fri, 02 Feb 2024)
Changed paths:
M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm
Log Message:
-----------
WebExtensionContext::handleContentRuleListNotificationForTab activeTab permission check is wrong
https://bugs.webkit.org/show_bug.cgi?id=268645
rdar://122197589
Reviewed by Timothy Hatcher.
Make sure the extension actually has access to the tab instead of just searching for the activeTab permission.
* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::handleContentRuleListNotificationForTab):
Canonical link: https://commits.webkit.org/274030@main
More information about the webkit-changes
mailing list