-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
brave/brave-core
#32060Labels
OS/iOSFixes related to iOS browser functionalityFixes related to iOS browser functionalityQA/Nofeature/shieldsThe overall Shields feature in Brave.The overall Shields feature in Brave.feature/shields/adblockBlocking ads & trackers with ShieldsBlocking ads & trackers with Shieldsfeatures/shields/cosmetic-filteringpriority/P4Planned work. We expect to get to it "soon".Planned work. We expect to get to it "soon".privacyrelease-notes/include
Milestone
Description
Currently on iOS we are debouncing the sending of selectors detected during mutations:
https://github.com/brave/brave-core/blob/18a62515b9f3673c4565808e153964ea610b9830/components/cosmetic_filters/resources/data/content_cosmetic_ios.js#L339
Updating this function to throttle instead of debounce should improve the performance / round trip time between mutated elements being added to the page, determining if they should be hidden by AdBlockEngine, then hiding those mutated elements.
This should re-use the throttle function currently in content_cosmetic_ios.js.
Some additional discussion:
https://bravesoftware.slack.com/archives/C3GNZANPR/p1755376604125699
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OS/iOSFixes related to iOS browser functionalityFixes related to iOS browser functionalityQA/Nofeature/shieldsThe overall Shields feature in Brave.The overall Shields feature in Brave.feature/shields/adblockBlocking ads & trackers with ShieldsBlocking ads & trackers with Shieldsfeatures/shields/cosmetic-filteringpriority/P4Planned work. We expect to get to it "soon".Planned work. We expect to get to it "soon".privacyrelease-notes/include