Summary: | Resource Load Statistics: Increase grandfathering time to 7 days | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | John Wilander <wilander> | ||||||
Component: | WebKit2 | Assignee: | John Wilander <wilander> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, commit-queue, sam, webkit-bug-importer, wilander | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
John Wilander
2017-08-09 18:55:27 PDT
Created attachment 317773 [details]
Patch
Comment on attachment 317773 [details]
Patch
Thanks, Brent!
Comment on attachment 317773 [details] Patch Clearing flags on attachment: 317773 Committed r220505: <http://trac.webkit.org/changeset/220505> All reviewed patches have been landed. Closing bug. Reopening because we think this should be three days of uptime, not three calendar days. We should change the grandfathering code to operate based on uptime. I think this just means modifying WebResourceLoadStatisticsStore::topPrivatelyControlledDomainsToRemoveWebsiteDataFor to use this as the test: bool shouldCheckForGrandfathering = m_operatingDates.size() > 3; Never mind. Let's track other changes as a refinement. Re-closing. We're bumping this to seven days. Reopening. Created attachment 317880 [details]
Patch
Comment on attachment 317880 [details]
Patch
r=me
Please be aware that changes to the WebKit directory need approval from a WebKit owner. To that end, how is this change being tested? Can an automated test be written? (In reply to Sam Weinig from comment #12) > To that end, how is this change being tested? Can an automated test be > written? Existing tests cover this logic. Because of the lengths of time involved, they run with override timeouts that aren't affected by this change to a constant. If you want to track detailed testing in Safari, please follow the associated Radar. Comment on attachment 317880 [details]
Patch
Thanks, Brent!
Comment on attachment 317880 [details] Patch Clearing flags on attachment: 317880 Committed r220571: <http://trac.webkit.org/changeset/220571> All reviewed patches have been landed. Closing bug. |