Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: f2242a8c4fe28924b69c6e026e8f4119a12506e7 https://github.com/WebKit/WebKit/commit/f2242a8c4fe28924b69c6e026e8f4119a12506e7 Author: Sihui Liu <sihui_...@apple.com> Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths: M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml M Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj A Source/WebCore/PAL/pal/cocoa/WebContentRestrictionsSoftLink.h A Source/WebCore/PAL/pal/cocoa/WebContentRestrictionsSoftLink.mm A Source/WebCore/PAL/pal/spi/cocoa/WebContentRestrictionsSPI.h M Source/WebCore/loader/ContentFilter.cpp M Source/WebCore/loader/ContentFilter.h M Source/WebCore/loader/DocumentLoader.cpp M Source/WebCore/page/DeprecatedGlobalSettings.h M Source/WebCore/platform/ContentFilterUnblockHandler.h M Source/WebCore/platform/PlatformContentFilter.h M Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm M Source/WebCore/platform/cocoa/ParentalControlsContentFilter.h M Source/WebCore/platform/cocoa/ParentalControlsContentFilter.mm M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h M Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in Log Message: ----------- [Content Filtering] Adopt WebContentRestrictions SPI for content filtering https://bugs.webkit.org/show_bug.cgi?id=288696 rdar://145720557 Reviewed by Per Arne Vollan. Use simpler WCRBrowserEngineClient interface to replace WebFilterEvaluator. This is not enabled yet. * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml: * Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj: * Source/WebCore/PAL/pal/cocoa/WebContentRestrictionsSoftLink.h: * Source/WebCore/PAL/pal/cocoa/WebContentRestrictionsSoftLink.mm: * Source/WebCore/PAL/pal/spi/cocoa/WebContentRestrictionsSPI.h: * Source/WebCore/loader/ContentFilter.cpp: (WebCore::ContentFilter::isWebContentRestrictionsUnblockURL): (WebCore::ContentFilter::setUsesWebContentRestrictions): * Source/WebCore/loader/ContentFilter.h: * Source/WebCore/loader/DocumentLoader.cpp: (WebCore::DocumentLoader::startLoadingMainResource): * Source/WebCore/page/DeprecatedGlobalSettings.h: (WebCore::DeprecatedGlobalSettings::setUsesWebContentRestrictionsForFilter): (WebCore::DeprecatedGlobalSettings::usesWebContentRestrictionsForFilter): * Source/WebCore/platform/ContentFilterUnblockHandler.h: (WebCore::ContentFilterUnblockHandler::evaluatedURL const): * Source/WebCore/platform/PlatformContentFilter.h: (WebCore::PlatformContentFilter::setUsesWebContentRestrictions): * Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm: (WebCore::ContentFilterUnblockHandler::ContentFilterUnblockHandler): (WebCore::ContentFilterUnblockHandler::wrapWithDecisionHandler): (WebCore::ContentFilterUnblockHandler::needsUIProcess const): (WebCore::ContentFilterUnblockHandler::canHandleRequest const): (WebCore::ContentFilterUnblockHandler::requestUnblockAsync const): * Source/WebCore/platform/cocoa/ParentalControlsContentFilter.h: * Source/WebCore/platform/cocoa/ParentalControlsContentFilter.mm: (WebCore::ParentalControlsContentFilter::enabled): (WebCore::ParentalControlsContentFilter::responseReceived): (WebCore::ParentalControlsContentFilter::addData): (WebCore::ParentalControlsContentFilter::finishedAddingData): (WebCore::ParentalControlsContentFilter::unblockHandler const): (WebCore::ParentalControlsContentFilter::updateFilterState): (WebCore::ParentalControlsContentFilter::setUsesWebContentRestrictions): * Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h: * Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp: (WebKit::NetworkResourceLoader::startContentFiltering): * Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in: Canonical link: https://commits.webkit.org/291264@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