[Webkit-unassigned] [Bug 282080] New: WKWebView process name exposes the website associated with that process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 24 20:34:11 PDT 2024


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

            Bug ID: 282080
           Summary: WKWebView process name exposes the website associated
                    with that process
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: macOS 15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 246g2wr4 at duck.com

Background:

• Each WKWebView instance typically has its own associated WebContent process
• The process name in Activity Monitor includes the website loaded within that WKWebView, and the name is not configurable through public WKWebView API
• A private API _processDisplayName exists within WKWebViewConfiguration which can configure this value, but it's not available for use in apps submitted to the Mac App Store due to its private nature
• This behaviour matches Safari, but other popular browsers (such as Firefox) obfuscate their process name - users may find it unsetting to see their open websites visible somewhere outside of the browser
• These process names aren't available programmatically in typical usage (they will show up with an obfuscated name in ps for example), but they can be accessed using _LSCopyApplicationInformationItem

Objective:

• Add a public API to allow developers to configure the process display name to WKWebViewConfiguration

-- 
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/20241025/288c45c4/attachment.htm>


More information about the webkit-unassigned mailing list