Bug 256607

Summary: [macOS] When a background WebProcess uses too much CPU in the background, suspend it
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 2023-05-10 12:59:38 PDT
When a background WebProcess uses too much CPU in the background, suspend it when process suspension is enabled. We would previously terminate the process which is not as user-friendly and unnecessary when we can suspend to process to stop it from using CPU.
Comment 1 Chris Dumez 2023-05-10 13:03:20 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13712
Comment 2 EWS 2023-05-10 16:31:13 PDT
Committed 263937@main (55f474a36d80): <https://commits.webkit.org/263937@main>

Reviewed commits have been landed. Closing PR #13712 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-05-10 16:32:20 PDT
<rdar://problem/109178181>