[Webkit-unassigned] [Bug 211446] New: [Cocoa] Block preference services without using CFPrefs direct mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 5 07:34:26 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=211446

            Bug ID: 211446
           Summary: [Cocoa] Block preference services without using
                    CFPrefs direct mode
           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

Initially, preference services were blocked by using CFPrefs direct mode. However, it is possible to keep denying preference services without using direct mode by issuing temporary extensions to preference services. On startup of the WebContent process, consume these extensions, then perform a dummy preference request to map preferences into memory, and finally revoke the extensions. The WebContent process will then have read access to preferences through the mapped memory region without having access to the preference services. Also preference updates will be reflected in the WebContent process, since the memory region will contain the updated value of preferences. There is no longer any need to push preference values from the UI process.

-- 
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/20200505/9c36cf7a/attachment-0001.htm>


More information about the webkit-unassigned mailing list