Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information