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 # 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
|
||||
$script,redirect=noop.js
|
||||
*$empty
|
||||
|
@ -68,6 +75,13 @@ $
|
|||
::/ 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
|
||||
/(abc|def/$xhr
|
||||
|
||||
|
|
Loading…
Reference in New Issue