[webkit-changes] [WebKit/WebKit] 780e34: Paused background tabs should take advantage of ba...
Chris Dumez
noreply at github.com
Tue May 2 14:18:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 780e344629ef06906ea1bf1b23b26e4edd39a7ec
https://github.com/WebKit/WebKit/commit/780e344629ef06906ea1bf1b23b26e4edd39a7ec
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-05-02 (Tue, 02 May 2023)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
Paused background tabs should take advantage of background priority on machines that can handle it
https://bugs.webkit.org/show_bug.cgi?id=256214
<rdar://108626287>
Reviewed by Ben Nham.
When a tab gets backgrounded on macOS, take a background assertion for 8 minutes
instead of foreground one on machines that have enough cores.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::ProcessActivityState::dropVisibleActivity):
Canonical link: https://commits.webkit.org/263606@main
More information about the webkit-changes
mailing list