Bug 309527

Summary: Make lifetime activity use background assertion by default on macOS
Product: WebKit Reporter: Ben Nham <nham>
Component: WebKit Misc.Assignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ben Nham
Reported 2026-03-09 16:47:49 PDT
On macOS, all processes get a lifetime activity by default at creation time which currently uses a foreground assertion. This means processes that don't use RunningBoard throttling (i.e. NetworkProcess and GPUProcess) always run at foreground priority with the focal flag set, which is higher than we intended as a default priority. Change the default assertion to be a background assertion instead. When any WebContent is hosting a visible webpage, this will have no impact as NetworkProcess and GPUProcess will detect the presence of the visible webpage and boost themselves back up to foreground priority .
Attachments
Ben Nham
Comment 1 2026-03-09 16:47:51 PDT
Ben Nham
Comment 2 2026-03-09 16:49:51 PDT
EWS
Comment 3 2026-03-10 13:59:18 PDT
Committed 309012@main (6830b122e210): <https://commits.webkit.org/309012@main> Reviewed commits have been landed. Closing PR #60226 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.