Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9be7f5a90caaa9e5936d16314d4a58cd2902c168
      
https://github.com/WebKit/WebKit/commit/9be7f5a90caaa9e5936d16314d4a58cd2902c168
  Author: Basuke Suzuki <[email protected]>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h

  Log Message:
  -----------
  [Site Isolation] Add UseUIProcessForBackForwardItemLoading preference for 
UIProcess-driven back/forward child frame navigation.
https://bugs.webkit.org/show_bug.cgi?id=308561
rdar://171032272

Reviewed by Per Arne Vollan.

Add a new WebKit preference UseUIProcessForBackForwardItemLoading to gate the 
UIProcess-driven
back/forward navigation feature for child frames.

- Add UseUIProcessForBackForwardItemLoading to UnifiedWebPreferences.yaml (type 
bool, status
  unstable, default false for all layers)
- Expose _useUIProcessForBackForwardItemLoading / 
_setUseUIProcessForBackForwardItemLoading:
  on WKPreferences via WKPreferencesPrivate.h and WKPreferences.mm

This flag will be used to guard all new code paths introduced in subsequent 
patches.

No new tests. No behavioral changes.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _useUIProcessForBackForwardItemLoading]):
(-[WKPreferences _setUseUIProcessForBackForwardItemLoading:]):
* Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h:

Canonical link: https://commits.webkit.org/308158@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to