-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix regression of isBlockImportant()
isBlockImportant() was relying strictly on the hash bits to detect whether a matching filter was `important`, but this approach regressed with changes with how `important` filters are compiled. This commit fixed this by no longer relying on the hash bits but rather on an internal register variable being set by `important` filters when they match. I couldn't find any actual cases in default filter lists (including a couple of default regional lists) that the regression is having any effect, due to the limited cases for which isBlockImportant() is called. A test was added in a previous commit to detect such regression in the future: - a76935b
- Loading branch information
Showing
1 changed file
with
14 additions
and
6 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