fix(privacy): Shred private WKWebsiteDataStore data types by StephenHeaps · Pull Request #26199 · brave/brave-core (original) (raw)

@StephenHeaps

Resolves brave/brave-browser#41863

Submitter Checklist:

Reviewer Checklist:

After-merge Checklist:

Test Plan:

@StephenHeaps

kylehickinson

// https://github.com/WebKit/WebKit/blob/b66e4895df40202b14bb20fb47444c3e0a3c164e/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataRecordPrivate.h
var types = WKWebsiteDataStore.allWebsiteDataTypes()
types.insert("_WKWebsiteDataTypeHSTSCache")
types.insert("_WKWebsiteDataTypeMediaKeys")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

types.insert("_WKWebsiteDataTypeAdClickAttributions")
types.insert("_WKWebsiteDataTypePrivateClickMeasurements")
types.insert("_WKWebsiteDataTypeAlternativeServices")
return types

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you want to also include _WKWebsiteDataTypeFileSystem and _WKWebsiteDataTypeSearchFieldRecentSearches for users not on iOS 17?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brandon-T

@StephenHeaps

kylehickinson

This was referenced

Oct 24, 2024

@brave-builds

kjozwiak pushed a commit that referenced this pull request

Oct 25, 2024

@brave-builds

kjozwiak pushed a commit that referenced this pull request

Oct 25, 2024

@brave-builds

This file contains hidden or 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

[ Show hidden characters]({{ revealButtonHref }})