Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6830b122e210ee623c94b06773365f7634f114b1
      
https://github.com/WebKit/WebKit/commit/6830b122e210ee623c94b06773365f7634f114b1
  Author: Ben Nham <[email protected]>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

  Changed paths:
    M Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp

  Log Message:
  -----------
  Make lifetime activity use background assertion by default on macOS
https://bugs.webkit.org/show_bug.cgi?id=309527
rdar://166762210

Reviewed by Per Arne Vollan.

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 (such as
NetworkProcess and GPUProcess) always run at foreground priority, which is 
higher than we intended.

This changes the default assertion used by the lifetime activity to be a 
background assertion
instead of a foreground activity. 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.

* Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp:
(WebKit::AuxiliaryProcessProxy::didFinishLaunching):

Canonical link: https://commits.webkit.org/309012@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to