Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 08d53f0991b068974e5ac2a8dfa42e162ecd0581
https://github.com/WebKit/WebKit/commit/08d53f0991b068974e5ac2a8dfa42e162ecd0581
Author: Charlie Wolfe <[email protected]>
Date: 2026-06-18 (Thu, 18 Jun 2026)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences+Extras.swift
M Source/WebKit/UIProcess/API/Swift/WebPage+NavigationPreferences.swift
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageTests.swift
Log Message:
-----------
Add Global Privacy Control support to WebPage.NavigationPreferences Swift API
https://bugs.webkit.org/show_bug.cgi?id=317366
rdar://179982182
Reviewed by Abrar Rahman Protyasha and Richard Robinson.
Expose isGlobalPrivacyControlEnabled on WebPage.NavigationPreferences, the
Swift API equivalent of
the Objective-C WKWebpagePreferences.globalPrivacyControlEnabled property, and
bridge between the
two.
Test: Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageTests.swift
* Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferences+Extras.swift:
* Source/WebKit/UIProcess/API/Swift/WebPage+NavigationPreferences.swift:
(isGlobalPrivacyControlEnabled):
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageTests.swift:
(WebPageTests.globalPrivacyControlEnabledForNavigation):
Canonical link: https://commits.webkit.org/315441@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications