Bug 242519 - Unable to set application information in the GPU process
Summary: Unable to set application information in the GPU process
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-08 09:40 PDT by Per Arne Vollan
Modified: 2022-07-08 09:45 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2022-07-08 09:40:04 PDT
Setting application information in the GPU process is currently failing, since access to Launch Services is not permitted in the GPU process. A potential fix for this is to check in with Launch Services while holding a temporary sandbox extension in the GPU process, and then use the Network process to set the application information on behalf of the GPU process. However, since the GPU process is not an application in the normal sense, it may not make sense to register with Launch Services, since that will also allow Launch Services to change the priority of the GPU process. I suggest we remove the code which sets the application information now, since that is blocked by the sandbox. Since the aforementioned alternative is a more complex change, we can potentially look into that at a later point.
Comment 1 Radar WebKit Bug Importer 2022-07-08 09:40:50 PDT
<rdar://problem/96678011>
Comment 2 Per Arne Vollan 2022-07-08 09:45:34 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2226