Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1001b516c3b359af365ddd0b9738cf9268a9d5d2 https://github.com/WebKit/WebKit/commit/1001b516c3b359af365ddd0b9738cf9268a9d5d2 Author: Kiara Rose <kiara_r...@apple.com> Date: 2025-08-08 (Fri, 08 Aug 2025)
Changed paths: M Source/WebCore/contentextensions/ContentExtensionsBackend.cpp M Source/WebCore/contentextensions/ContentRuleListResults.h M Source/WebCore/loader/PolicyChecker.cpp M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in Log Message: ----------- Web Content Crashes when navigating to certain URLs with uBlock origin enabled https://bugs.webkit.org/show_bug.cgi?id=297077 rdar://157688458 Reviewed by Timothy Hatcher and Brian Weinstein. For certain navigations, we're unnecessarily modifying the request. In testing, it didn't appear that the actual request was changing, but I suspect something was going wrong here that was causing some type of corruption. Since we only have this code to modify the request if a redirect should occur, only apply the results to the request for this case. Also, this patch changes the name of redirectedPriorToBlock to redirect and doesn't allow blockedLoad to be set if a redirect occurred first, and vice versa. * Source/WebCore/contentextensions/ContentExtensionsBackend.cpp: (WebCore::ContentExtensions::ContentExtensionsBackend::processContentRuleListsForLoad): * Source/WebCore/contentextensions/ContentRuleListResults.h: (WebCore::ContentRuleListResults::shouldBlock const): * Source/WebCore/loader/PolicyChecker.cpp: (WebCore::PolicyChecker::checkNavigationPolicy): * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: Canonical link: https://commits.webkit.org/298398@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