Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only already normalized CSS selectors can be fast path-compiled
Related issue: - uBlockOrigin/uBlock-issues#2730 CSS selectors used in cosmetic filtering are normalized in order to ignore non-functional differences. For instance: example.org##body p example.org#@#body p The first cosmetic filter should be excepted by the second one, but this was not the case because the fast path use to compile common CSS selectors was not causing normalization to take place. The fix is to ensure that the fast path used to compile most common CSS selectors is taken only when in presence of already normalized CSS selectors.
- Loading branch information