Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 33e2d076381544a83dfd649f17b21dfb7703f751
https://github.com/WebKit/WebKit/commit/33e2d076381544a83dfd649f17b21dfb7703f751
Author: Jessica Lee <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm
M Source/WebCore/platform/cocoa/ParentalControlsURLFilter.h
M Source/WebCore/platform/cocoa/ParentalControlsURLFilter.mm
M Source/WebCore/platform/cocoa/ParentalControlsURLFilterParameters.h
M Source/WebKit/NetworkProcess/NetworkProcess.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/Shared/ios/WebParentalControlsURLFilter.h
M Source/WebKit/Shared/ios/WebParentalControlsURLFilter.mm
M Source/WebKit/UIProcess/WebFrameProxy.cpp
Log Message:
-----------
ParentalControlsURLFilter should try to request permission for URL's if
possible (for MacOS)
https://bugs.webkit.org/show_bug.cgi?id=308093
rdar://168696619
Reviewed by Sihui Liu.
ParentalControlsURLFilter can either request permission for the URL or allow
the URL. We should try to request
permission for the URL if possible.
No new tests are needed.
* Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm:
(WebCore::ContentFilterUnblockHandler::requestUnblockAsync):
* Source/WebCore/platform/cocoa/ParentalControlsURLFilter.h:
(WebCore::ParentalControlsURLFilter::canRequestPermissionForURL): Deleted.
* Source/WebCore/platform/cocoa/ParentalControlsURLFilter.mm:
(WebCore::ParentalControlsURLFilter::approveAccessToURL):
(WebCore::ParentalControlsURLFilter::requestPermissionForURL):
* Source/WebCore/platform/cocoa/ParentalControlsURLFilterParameters.h:
* Source/WebKit/NetworkProcess/NetworkProcess.cpp:
(WebKit::NetworkProcess::allowEvaluatedURL):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/Shared/ios/WebParentalControlsURLFilter.h:
* Source/WebKit/UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::didHandleContentFilterUnblockNavigation):
Canonical link: https://commits.webkit.org/307795@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications