Bug 270609

Summary: WKInactiveSchedulingPolicyThrottle / WKInactiveSchedulingPolicyNone may still cause process suspension
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2024-03-06 16:50:38 PST
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.
Comment 1 Chris Dumez 2024-03-06 16:50:48 PST
<rdar://123854747>
Comment 2 Chris Dumez 2024-03-06 16:52:18 PST
Pull request: https://github.com/WebKit/WebKit/pull/25558
Comment 3 EWS 2024-03-07 14:32:48 PST
Committed 275807@main (f64effb7bba9): <https://commits.webkit.org/275807@main>

Reviewed commits have been landed. Closing PR #25558 and removing active labels.