Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
ITP should hold off longer on deleting website data for domains with …
…WebPush that the user interacts with https://bugs.webkit.org/show_bug.cgi?id=244609 <rdar://99148432> Reviewed by Alex Christensen. * Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp: (WebKit::ResourceLoadStatisticsDatabaseStore::hasHadRecentWebPushInteraction const): New convenience function. (WebKit::ResourceLoadStatisticsDatabaseStore::registrableDomainsToDeleteOrRestrictWebsiteDataFor): Now checks hasHadRecentWebPushInteraction() and exempts the domain if true. * Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.h: * Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm: Updated the ITPCleanup test to cover the new behavior. Canonical link: https://commits.webkit.org/254048@main
- Loading branch information
1 parent
b3e3f37
commit c5e9bfe
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters