uBlock/platform/npm/tests
Raymond Hill 1130746a9b
Fix regression with important filter option
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1732

The regression affect filter with the `important` option when
the following conditions were fulfilled:

- The filter pattern is pure hostname
- The filter has not one of the following options:
  - domain
  - denyallow
  - header
  - strict1p, strict3p
  - csp
  - removeparam
- There is a matching exception filter

Related commit:
- a2a8ef7e85

A related mocha test has been added in order to detect this
specific regression in the future through `make test`.
2021-09-24 11:09:32 -04:00
..
data Run tests on request data (#3828) 2021-08-16 07:39:09 -04:00
.eslintrc.json Lint Mocha tests too (#3824) 2021-08-15 11:13:13 -04:00
_common.js Use createWorld() in request data tests (#3832) 2021-08-17 07:20:13 -04:00
leaks.js Convert publicsuffixlist.js into an ES module (#3846) 2021-08-23 09:42:27 -04:00
request-data.js Run SNFE tests with Wasm off and on (#3833) 2021-08-17 08:24:07 -04:00
snfe.js Fix regression with important filter option 2021-09-24 11:09:32 -04:00
wasm.js Add check-leaks make target (#3837) 2021-08-18 07:28:23 -04:00