Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f19d5a29be35074f1b14a16a768786d64fa95d9
      
https://github.com/WebKit/WebKit/commit/7f19d5a29be35074f1b14a16a768786d64fa95d9
  Author: Brian Weinstein <bweinst...@apple.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm

  Log Message:
  -----------
  Handle the case where an extension could be unloaded after compiling DNR rules
https://bugs.webkit.org/show_bug.cgi?id=271493
rdar://123900589

Reviewed by Timothy Hatcher.

If the extension has been unloaded, iterating the user content controllers will 
lead to a crash.

* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::addDeclarativeNetRequestRulesToPrivateUserContentControllers):
(WebKit::WebExtensionContext::compileDeclarativeNetRequestRules):

Canonical link: https://commits.webkit.org/276578@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

Reply via email to