Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1674a8383b2c72a70cc1c2b9039f41d10d33341f
      
https://github.com/WebKit/WebKit/commit/1674a8383b2c72a70cc1c2b9039f41d10d33341f
  Author: David Quesada <[email protected]>
  Date:   2026-01-09 (Fri, 09 Jan 2026)

  Changed paths:
    M Source/WebCore/platform/cocoa/ParentalControlsURLFilter.mm

  Log Message:
  -----------
  Add an alternative notification for ParentalControlsURLFilter to listen for 
changes to restriction policies
https://bugs.webkit.org/show_bug.cgi?id=305225
rdar://167866686

Reviewed by Wenson Hsieh.

WebKit keeps a cached bit of whether the current device may or may not have any
WebContentRestrictions in effect. In most cases, when this state changes, WebKit
receives a notification posted from ManagedConfiguration that prompts it to 
reset
this state and reevaluate on the next load. But in some system configurations,
ManagedConfiguration isn't available, or it may be preferable for testing 
purposes
to trigger a reset of this state without impersonating ManagedConfiguration and
incurring unneeded/irrelevant work from other system components that run in
response to this notification.

* Source/WebCore/platform/cocoa/ParentalControlsURLFilter.mm:
(WebCore::registerNotificationForWebContentFilterTypeChange):

Canonical link: https://commits.webkit.org/305387@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to