[webkit-changes] [WebKit/WebKit] cd7eb3: Add Cocoa implementation to prepare content list f...

Basuke Suzuki noreply at github.com
Thu Dec 19 17:17:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd7eb35cea44dc24ffafc3106e29eb4a19b30465
      https://github.com/WebKit/WebKit/commit/cd7eb35cea44dc24ffafc3106e29eb4a19b30465
  Author: Basuke Suzuki <basuke at apple.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/WebPrivacySPI.h
    M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.h
    M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm

  Log Message:
  -----------
  Add Cocoa implementation to prepare content list for ResourceMonitor.
https://bugs.webkit.org/show_bug.cgi?id=284855
rdar://141646051

Reviewed by Ben Nham.

The rule list needs to be prepared and they must be platform dependent way.
For Cocoa, we use WebPrivacy framework to deliver the list.

* Source/WebCore/PAL/pal/spi/cocoa/WebPrivacySPI.h:
* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.h:
* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm:
(WebKit::ResourceMonitorURLsController::singleton):
(WebKit::ResourceMonitorURLsController::prepare):
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::platformLoadResourceMonitorRuleList):

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