[Webkit-unassigned] [Bug 237140] New: Support Direct Mode propagation of CFPreferences types other than AnyApp/CurUser/AnyHost
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 24 08:55:17 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=237140
Bug ID: 237140
Summary: Support Direct Mode propagation of CFPreferences types
other than AnyApp/CurUser/AnyHost
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Process Model
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gavin.p at apple.com
Currently CFPreferences Direct Mode propagation between WebKit constellation processes only supports AnyApp/CurUser/AnyHost preference types:
void AuxiliaryProcess::setPreferenceValue(const String& domain, const String& key, id value)
{
if (domain.isEmpty()) {
CFPreferencesSetValue(key.createCFString().get(), (__bridge CFPropertyListRef)value, kCFPreferencesAnyApplication, kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
#if ASSERT_ENABLED
id valueAfterSetting = [[NSUserDefaults standardUserDefaults] objectForKey:key];
ASSERT(valueAfterSetting == value || [valueAfterSetting isEqual:value] || key == "AppleLanguages");
#endif
} else
CFPreferencesSetValue(key.createCFString().get(), (__bridge CFPropertyListRef)value, domain.createCFString().get(), kCFPreferencesCurrentUser, kCFPreferencesAnyHost);
}
We should support propagation of other preference types too, for example CurrentHost.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220224/f41c73f5/attachment.htm>
More information about the webkit-unassigned
mailing list