We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While testing FiltersEngine.merge we've noticed that engines are able to keep duplicated filters.
FiltersEngine.merge
Steps to reproduce:
const engineBlob = fs.readFileSync(pathToEngine); const engine = FiltersEngine.deserialise(engineBlob); const emptyEngine = FiltersEngine.empty(engine.config); const newEngine = FiltersEngine.merge([engine, emptyEngine]); assert(engine.getFilters().networkFilters.length === newEngine.getFilters().networkFilters.length); assert(engine.getFilters().cosmeticFilters.length === newEngine.getFilters().cosmeticFilters.length);
The text was updated successfully, but these errors were encountered:
seia-soto
No branches or pull requests
While testing
FiltersEngine.merge
we've noticed that engines are able to keep duplicated filters.Steps to reproduce:
The text was updated successfully, but these errors were encountered: