Bug 270609 - WKInactiveSchedulingPolicyThrottle / WKInactiveSchedulingPolicyNone may still cause process suspension
Summary: WKInactiveSchedulingPolicyThrottle / WKInactiveSchedulingPolicyNone may still...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-03-06 16:50 PST by Chris Dumez
Modified: 2024-03-07 14:32 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.