Bug 202298 - Enable and disable ResourceLoadStatistics only by session
Summary: Enable and disable ResourceLoadStatistics only by session
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-09-26 17:35 PDT by Alex Christensen
Modified: 2019-09-27 08:56 PDT (History)
3 users (show)

See Also:


Attachments
Patch (7.79 KB, patch)
2019-09-26 17:39 PDT, Alex Christensen
no flags Details | Formatted Diff | Diff
Patch (9.67 KB, patch)
2019-09-27 07:56 PDT, Alex Christensen
cdumez: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2019-09-26 17:35:59 PDT
Enable and disable ResourceLoadStatistics only by session
Comment 1 Alex Christensen 2019-09-26 17:39:50 PDT
Created attachment 379705 [details]
Patch
Comment 2 youenn fablet 2019-09-27 07:43:50 PDT
Comment on attachment 379705 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=379705&action=review

> Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:1871
> +            processPool->sendToNetworkingProcess(Messages::NetworkProcess::SetResourceLoadStatisticsEnabled(m_sessionID, true));

I guess we want to store this value in WebsiteDataStore and send it when creating new NetworkProcesses.
Comment 3 Alex Christensen 2019-09-27 07:56:58 PDT
Created attachment 379723 [details]
Patch
Comment 4 Alex Christensen 2019-09-27 08:55:15 PDT
http://trac.webkit.org/r250424
Comment 5 Radar WebKit Bug Importer 2019-09-27 08:56:19 PDT
<rdar://problem/55783239>