Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 53ede32c8f5724ce09595e86510114dfd2d35958
      
https://github.com/WebKit/WebKit/commit/53ede32c8f5724ce09595e86510114dfd2d35958
  Author: Darryl Parkinson <[email protected]>
  Date:   2025-11-17 (Mon, 17 Nov 2025)

  Changed paths:
    M 
Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.messages.in
    M 
Source/WebKit/Scripts/PreferencesTemplates/SharedPreferencesForWebProcess.cpp.erb
    M 
Source/WebKit/Scripts/PreferencesTemplates/SharedPreferencesForWebProcess.h.erb
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebProcessProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm
    A Tools/TestWebKitAPI/Tests/WebKitCocoa/speechsynthesis_feature_test.html
    A Tools/TestWebKitAPI/Tests/WebKitCocoa/speechsynthesis_lockdown_test.html

  Log Message:
  -----------
  Fix issue with Lockdown mode SharedPref sync
https://bugs.webkit.org/show_bug.cgi?id=297740
rdar://158421827

Reviewed by Ryosuke Niwa.

SharedPreferenceForWebProcess syncing wasn't accounting for preferences marked 
to be disabled in lockdown mode. See radar for details.

* 
Source/WebKit/Scripts/PreferencesTemplates/SharedPreferencesForWebProcess.cpp.erb:
* 
Source/WebKit/Scripts/PreferencesTemplates/SharedPreferencesForWebProcess.h.erb:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::hasSameGPUAndNetworkProcessPreferencesAs const):
* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::initializePreferencesForGPUAndNetworkProcesses):
(WebKit::WebProcessProxy::hasSameGPUAndNetworkProcessPreferencesAs const):
(WebKit::WebProcessProxy::updateSharedPreferences):
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm:
(createWebViewWithIPCTestingAPIAndLockdownMode):
(LockdownModeDisablesWebGL)):
(LockdownModeDisabledAllowsWebGL)):
(LockdownModeDetection)):
(SpeechSynthesisWithFeatureFlag)):
(SpeechSynthesisWithLockdownMode)):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/speechsynthesis_feature_test.html: 
Added.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/speechsynthesis_lockdown_test.html: 
Added.

Originally-landed-as: 297297.301@safari-7622-branch (ce9b10b51a05). 
rdar://164280156
Canonical link: https://commits.webkit.org/303145@main



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

Reply via email to