[webkit-changes] [WebKit/WebKit] f64eff: WKInactiveSchedulingPolicyThrottle / WKInactiveSch...
Chris Dumez
noreply at github.com
Thu Mar 7 14:33:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f64effb7bba954716dc6376fe087526cc5825879
https://github.com/WebKit/WebKit/commit/f64effb7bba954716dc6376fe087526cc5825879
Author: Chris Dumez <cdumez at apple.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
Log Message:
-----------
WKInactiveSchedulingPolicyThrottle / WKInactiveSchedulingPolicyNone may still cause process suspension
https://bugs.webkit.org/show_bug.cgi?id=270609
rdar://123854747
Reviewed by Ben Nham.
WKInactiveSchedulingPolicyThrottle / WKInactiveSchedulingPolicyNone may still
cause process suspension. They don't set the "shouldDropNearSuspendedAssertionAfterDelay"
setting, which means that we may end up dropping the suspended assertion after
some delay and the processes would suspend, even though the API indicates that
the processes will not suspend in those modes.
* Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences setInactiveSchedulingPolicy:]):
Canonical link: https://commits.webkit.org/275807@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