-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whitelist more notifyd notifications for WebContent
https://bugs.webkit.org/show_bug.cgi?id=274910 rdar://128970749 Reviewed by Per Arne Vollan. After looking at more data it looks like we are still not forwarding a number of notifyd notifications that WebContent cares about when ENABLE_NOTIFY_BLOCKING is on. Add in those missing notification names and also refactor the way the list of notifications is handled, since that knowledge is currently distributed across 3 places in the codebase: - process-entitlements.sh - WebProcessPool::registerNotificationObservers() - iOS/macOS WebContentsandbox profile Ideally these lists would come from some centralized file. But for now, I've at least reorganized things so it should be easier to keep these lists in sync. * Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb.in: * Source/WebKit/Scripts/process-entitlements.sh: * Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::registerNotificationObservers): * Source/WebKit/WebProcess/com.apple.WebProcess.sb.in: Canonical link: https://commits.webkit.org/279548@main
- Loading branch information
Showing
4 changed files
with
201 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.