[webkit-changes] [WebKit/WebKit] 4d1e35: Refactor notification allow lists

bnham noreply at github.com
Fri Jun 28 10:00:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4d1e35ac20d1c8b810e350882984c3e2429b34ee
      https://github.com/WebKit/WebKit/commit/4d1e35ac20d1c8b810e350882984c3e2429b34ee
  Author: Ben Nham <nham at apple.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in
    A Source/WebKit/Resources/cocoa/NotificationAllowList/EmbeddedForwardedNotifications.def
    A Source/WebKit/Resources/cocoa/NotificationAllowList/ForwardedNotifications.def
    A Source/WebKit/Resources/cocoa/NotificationAllowList/MacForwardedNotifications.def
    A Source/WebKit/Resources/cocoa/NotificationAllowList/NonForwardedNotifications.def
    A Source/WebKit/Resources/cocoa/NotificationAllowList/NotificationAllowLists.xcfilelist
    M Source/WebKit/Scripts/process-entitlements.sh
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

  Log Message:
  -----------
  Refactor notification allow lists
https://bugs.webkit.org/show_bug.cgi?id=275973
rdar://130706894

Reviewed by Brent Fulgham, Elliott Williams and Per Arne Vollan.

Move the list of forwarded notifyd notifications to a single place rather than being duplicated in
the sandbox profile, the entitlements script, and WebProcessPool.

* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in:
* Source/WebKit/Resources/cocoa/NotificationAllowList/EmbeddedForwardedNotifications.def: Added.
* Source/WebKit/Resources/cocoa/NotificationAllowList/ForwardedNotifications.def: Added.
* Source/WebKit/Resources/cocoa/NotificationAllowList/MacForwardedNotifications.def: Added.
* Source/WebKit/Resources/cocoa/NotificationAllowList/NonForwardedNotifications.def: Added.
* Source/WebKit/Resources/cocoa/NotificationAllowList/NotificationAllowLists.xcfilelist: Added.
* Source/WebKit/Scripts/process-entitlements.sh:
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::registerNotificationObservers):
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

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



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


More information about the webkit-changes mailing list