mirror of https://github.com/gorhill/uBlock.git
Add more test patterns
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/877
This commit is contained in:
parent
cf11228432
commit
c68a7da9ff
|
@ -32,6 +32,13 @@ a*
|
||||||
:: AB
|
:: AB
|
||||||
:: ab # comment
|
:: ab # comment
|
||||||
|
|
||||||
|
! valid hosts file entries
|
||||||
|
0.0.0.0 0.0.0.0.example.com
|
||||||
|
0.0.0.0 local-host.example.com
|
||||||
|
0.0.0.0 local.com
|
||||||
|
0.0.0.0 localhost.com
|
||||||
|
0.0.0.0 localhost.example.com
|
||||||
|
|
||||||
! valid options
|
! valid options
|
||||||
$script,redirect=noop.js
|
$script,redirect=noop.js
|
||||||
*$empty
|
*$empty
|
||||||
|
@ -68,6 +75,13 @@ $
|
||||||
::/ ab
|
::/ ab
|
||||||
:: ab$
|
:: ab$
|
||||||
|
|
||||||
|
! ignored hosts file entries
|
||||||
|
0.0.0.0 0.0.0.0
|
||||||
|
0.0.0.0 local-host
|
||||||
|
0.0.0.0 local
|
||||||
|
0.0.0.0 localhost
|
||||||
|
0.0.0.0 localhost
|
||||||
|
|
||||||
! bad regex
|
! bad regex
|
||||||
/(abc|def/$xhr
|
/(abc|def/$xhr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue