Summary: | ResourceLoadStatistics are not using unique paths during test runs | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||
Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | aestes, beidson, bfulgham, cdumez, commit-queue, darin, webkit-bug-importer, wilander | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Brent Fulgham
2017-06-02 09:53:34 PDT
Created attachment 311863 [details]
Patch
Comment on attachment 311863 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=311863&action=review > Source/WebKit2/UIProcess/API/APIProcessPoolConfiguration.cpp:71 > + configuration->m_resourceLoadStatisticsDirectory = legacyConfiguration.resourceLoadStatisticsDirectory; Do we need this same change in ProcessPoolConfiguration::createWithLegacyOptions? Comment on attachment 311863 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=311863&action=review >> Source/WebKit2/UIProcess/API/APIProcessPoolConfiguration.cpp:71 >> + configuration->m_resourceLoadStatisticsDirectory = legacyConfiguration.resourceLoadStatisticsDirectory; > > Do we need this same change in ProcessPoolConfiguration::createWithLegacyOptions? ProcessPoolConfiguration::createWithLegacyOptions() calls ProcessPoolConfiguration::create(), which will call the default constructor of ProcessPoolConfiguration which initializes m_resourceLoadStatisticsDirectory to WebsiteDataStore::defaultResourceLoadStatisticsDirectory() (in my patch). So it looks fine to me. Am I missing something? I don't think we have a legacy path for resource statistics so I assume using the default one is fine? Comment on attachment 311863 [details] Patch Clearing flags on attachment: 311863 Committed r217743: <http://trac.webkit.org/changeset/217743> All reviewed patches have been landed. Closing bug. Comment on attachment 311863 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=311863&action=review >>> Source/WebKit2/UIProcess/API/APIProcessPoolConfiguration.cpp:71 >>> + configuration->m_resourceLoadStatisticsDirectory = legacyConfiguration.resourceLoadStatisticsDirectory; >> >> Do we need this same change in ProcessPoolConfiguration::createWithLegacyOptions? > > ProcessPoolConfiguration::createWithLegacyOptions() calls ProcessPoolConfiguration::create(), which will call the default constructor of ProcessPoolConfiguration which initializes m_resourceLoadStatisticsDirectory to WebsiteDataStore::defaultResourceLoadStatisticsDirectory() (in my patch). So it looks fine to me. Am I missing something? I don't think we have a legacy path for resource statistics so I assume using the default one is fine? You are right: we have no legacy data to worry about here. |