WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
270201
Gathering resource load statistics resumes all WebContent processes
https://bugs.webkit.org/show_bug.cgi?id=270201
Summary
Gathering resource load statistics resumes all WebContent processes
Ben Nham
Reported
2024-02-27 16:32:54 PST
Right now, gathering all resource load statistics (via -[WKWebsiteDataStore _getResourceLoadStatisticsDataSummary:]) sends an async IPC with a completion handler to all WebContent processes, potentially resuming them if they're in a suspended state. This is only necessary to flush the last ~5 sec of resource load statistics from WebContent to NetworkProcess. For the use cases of this API, it's okay for the data to be slightly out of date. We should just avoid the broadcast IPC (and resuming processes that might be suspended). This is important because the API is used regularly (e.g. Safari calls it once every time you open a new tab), which can cause all suspended WebContent processes to regularly spuriously wake up.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-27 16:33:19 PST
<
rdar://problem/123724907
>
Ben Nham
Comment 2
2024-02-27 16:35:22 PST
Pull request:
https://github.com/WebKit/WebKit/pull/25198
EWS
Comment 3
2024-02-28 15:03:59 PST
Committed
275467@main
(9530e9a8df9c): <
https://commits.webkit.org/275467@main
> Reviewed commits have been landed. Closing PR #25198 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug