Bug 252618

Summary: [Cocoa] Many redundant calls to WebProcessProxy::didChangeThrottleState
Product: WebKit Reporter: Miguel Salinas <miguel_salinas>
Component: WebKit Process ModelAssignee: Miguel Salinas <miguel_salinas>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: iOS 16   

Description Miguel Salinas 2023-02-20 14:51:34 PST
ProcessThrottler is calling WebProcessProxy::didChangeThrottleState redundantly with the same throttle state. This is happening many times for at least one user. We should not call WebProcessProxy::didChangeThrottleState if the state is not actually changing.
Comment 1 Miguel Salinas 2023-02-20 15:04:47 PST
Pull request: https://github.com/WebKit/WebKit/pull/10404
Comment 2 EWS 2023-02-20 19:20:27 PST
Committed 260583@main (3af1290ef050): <https://commits.webkit.org/260583@main>

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