[webkit-changes] [WebKit/WebKit] dfc9c6: Fix debug aggressive web suspension threshold pref...
bnham
noreply at github.com
Wed Jan 8 11:13:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dfc9c6de12701bcc78709f871295dd710144896b
https://github.com/WebKit/WebKit/commit/dfc9c6de12701bcc78709f871295dd710144896b
Author: Ben Nham <nham at apple.com>
Date: 2025-01-08 (Wed, 08 Jan 2025)
Changed paths:
M Source/WebKit/UIProcess/WebProcessPool.cpp
Log Message:
-----------
Fix debug aggressive web suspension threshold preference
https://bugs.webkit.org/show_bug.cgi?id=285616
rdar://142559349
Reviewed by Ryan Reno.
The way the debug aggressive web suspension threshold preference was implemented in 287612 at main is
backwards. Paradoxically, this means by default, we suspend aggressively if the system is at the
warning level but not if the system is at the critical level. Fix this.
* Source/WebKit/UIProcess/WebProcessPool.cpp:
(WebKit::shouldSuspendAggressivelyBasedOnSystemMemoryPressureStatus):
Canonical link: https://commits.webkit.org/288608@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list