[webkit-changes] [WebKit/WebKit] a492c4: Add a menu item in MiniBrowser to toggle advanced ...

Wenson Hsieh noreply at github.com
Sat Mar 16 16:39:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a492c4f712b85796979d93d1903fbcc4b3faf935
      https://github.com/WebKit/WebKit/commit/a492c4f712b85796979d93d1903fbcc4b3faf935
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2024-03-16 (Sat, 16 Mar 2024)

  Changed paths:
    M Tools/MiniBrowser/mac/SettingsController.h
    M Tools/MiniBrowser/mac/SettingsController.m
    M Tools/MiniBrowser/mac/WK2BrowserWindowController.m

  Log Message:
  -----------
  Add a menu item in MiniBrowser to toggle advanced privacy protections
https://bugs.webkit.org/show_bug.cgi?id=271116

Reviewed by Charlie Wolfe.

Add an "Advanced Privacy Protections" toggle in MiniBrowser on macOS, that emulates the WebKit-level
protections that comprise Advanced Tracking and Fingerprinting Protection in Safari 17+.

* Tools/MiniBrowser/mac/AppDelegate.m:
* Tools/MiniBrowser/mac/SettingsController.h:
* Tools/MiniBrowser/mac/SettingsController.m:
(-[SettingsController _populateMenu:]):
(-[SettingsController validateMenuItem:]):
(-[SettingsController toggleAdvancedPrivacyProtections:]):
(-[SettingsController advancedPrivacyProtectionsEnabled]):
* Tools/MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController webView:decidePolicyForNavigationAction:preferences:decisionHandler:]):
(-[WK2BrowserWindowController webView:decidePolicyForNavigationAction:decisionHandler:]): Deleted.

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