Closed cuba closed 9 months ago
[puLL-Merge] - brave/brave-ios@8729
This pull request introduces a set of updates primarily focused on improving the ContentBlockerManager
logging, the handling of filter lists, and integrating signpost IDs for performance logging. It includes the refinement of data models and the implementation of guard checks across various functionalities to ensure a smoother and more reliable runtime behavior.
FilterListResourceDownloader.swift:
compileFilterListEngineIfNeeded
directly checks for file existence which could potentially introduce race conditions if files are modified or removed between the check and usage - Mitigation: Ensure atomicity or use more robust mechanisms to handle resource integrity.CachedAdBlockEngine.swift:
cosmeticFilterModel
. Similar to above, this introduces possible race conditions - Mitigation: Implement safer file handling practices.CustomFilterListStorage.swift (enabledSources
extension):
moved to brave-core
Summary of Changes
This pull request fixes https://github.com/brave/brave-browser/issues/35210
MUST Be merged in response to https://github.com/brave/brave-core/pull/21883
This actually has a number of benefits:
Submitter Checklist:
NSLocalizableString()
Test Plan:
Screenshots:
Reviewer Checklist:
QA/(Yes|No)
bug
/enhancement