[Webkit-unassigned] [Bug 212783] New: [Cocoa] CFPrefs synchronization does not always work for global preference changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 4 14:44:22 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212783
Bug ID: 212783
Summary: [Cocoa] CFPrefs synchronization does not always work
for global preference changes
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pvollan at apple.com
In CFPrefs direct mode, synchronization of global preference changes from the UI process to the WebContent process does not always work. This is caused by the KVO notification being sent to the incorrect NSUserDefault object, which leads us to believe a non-global preference was changed. Since a global preference change always leads to some NSUserDefaults object receiving the notification, we can work around this by checking if the preference being changed really belongs to the domain of the NSUserDefaults object, or if it is a global preference.
--
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/20200604/6969a466/attachment.htm>
More information about the webkit-unassigned
mailing list