Clearing private Website Data Types when Shredding (original) (raw)
Description
WebKit has some "private" data types that store site-specific data. We should clear these as well.
Steps to reproduce
I don't think these are user-visible (will not show up in Manage Website Data for instance), so I don't think there's any QA to do here.
Actual result
We aren't currently clearing the following data types:
_WKWebsiteDataTypeHSTSCache,
_WKWebsiteDataTypeResourceLoadStatistics,
_WKWebsiteDataTypeCredentials,
_WKWebsiteDataTypeAdClickAttributions,
_WKWebsiteDataTypePrivateClickMeasurements,
_WKWebsiteDataTypeAlternativeServices
Expected result
We should be calling delete on the following data types:
_WKWebsiteDataTypeHSTSCache,
_WKWebsiteDataTypeResourceLoadStatistics,
_WKWebsiteDataTypeCredentials,
_WKWebsiteDataTypeAdClickAttributions,
_WKWebsiteDataTypePrivateClickMeasurements,
_WKWebsiteDataTypeAlternativeServices
Reproduces how often
Easily reproduced
Brave version
Any version with Shred
Device/iOS version
Any
Affected browser versions
- latest AppStore
- latest TestFlight
- previous TestFlight
Reproducibility
- with Brave Shields disabled
- in the latest version of mobile Safari
Miscellaneous information
No response