[webkit-changes] [WebKit/WebKit] 4224c4: Disable the background responsiveness timer when R...
Chris Dumez
noreply at github.com
Mon Jun 26 20:40:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4224c4b333f825c83fa5f85a2b61c9479477a52b
https://github.com/WebKit/WebKit/commit/4224c4b333f825c83fa5f85a2b61c9479477a52b
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M Source/WebKit/UIProcess/BackgroundProcessResponsivenessTimer.cpp
Log Message:
-----------
Disable the background responsiveness timer when RunningBoard is used
https://bugs.webkit.org/show_bug.cgi?id=258534
Reviewed by Ben Nham.
Disable the background responsiveness timer when RunningBoard is used. We used
to only disable it on iOS because we only used RunningBoard on iOS. However,
now that we use RunningBoard on macOS too, we should disable it on this
platform too. Background processes now get a very low priority and eventually
get suspended. This would cause false reports of unresponsive processes.
* Source/WebKit/UIProcess/BackgroundProcessResponsivenessTimer.cpp:
(WebKit::BackgroundProcessResponsivenessTimer::shouldBeActive const):
Canonical link: https://commits.webkit.org/265536@main
More information about the webkit-changes
mailing list