Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8237aaf69a3ffed7d5969214385fa99cfeb71ded
      
https://github.com/WebKit/WebKit/commit/8237aaf69a3ffed7d5969214385fa99cfeb71ded
  Author: Ben Nham <n...@apple.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M Source/WebKit/Scripts/process-entitlements.sh
    M Source/WebKit/webpushd/WebPushDaemonMain.mm
    M Source/WebKit/webpushd/mac/com.apple.WebKit.webpushd.mac.sb.in

  Log Message:
  -----------
  Move webpushd state to container
https://bugs.webkit.org/show_bug.cgi?id=289557
rdar://110714823

Reviewed by Brady Eidson.

The data in ~/Library/WebKit/WebPush contains state that only webpushd needs to 
access. To enforce
this, move that state in to a container. We do this at process launch time. If 
we detect state in
the old location and no state in the new location, then we initiate a one-time 
migration.

* Source/WebKit/Scripts/process-entitlements.sh:
* Source/WebKit/webpushd/WebPushDaemonMain.mm:
(WebKit::getWebPushDirectoryPathWithMigrationIfNecessary):
(WebKit::WebPushDaemonMain):
* Source/WebKit/webpushd/mac/com.apple.WebKit.webpushd.mac.sb.in:

Canonical link: https://commits.webkit.org/292327@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

Reply via email to