mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Add more tests for domain=
and denyallow=
options
This commit is contained in:
parent
8d5086cfd5
commit
7e906b33c5
1 changed files with 14 additions and 0 deletions
|
@ -54,6 +54,14 @@ $script,redirect=noop.js
|
|||
*$all,~inline-script
|
||||
*$all,~inline-font
|
||||
|
||||
! valid domain option values
|
||||
*$domain=toto.com|toto.*|~toto.com|~toto.*|tôtó.ça|tôtó.*|~tôtó.ça|[ff00::0]|1.1.1.1
|
||||
|
||||
! valid denyallow option values
|
||||
*$denyallow=toto.com|tôtó.ça|[ff00::0]|1.1.1.1
|
||||
|
||||
|
||||
|
||||
|
||||
!--------------------
|
||||
! Parsing should fail
|
||||
|
@ -105,3 +113,9 @@ $
|
|||
*$~popup
|
||||
*$~inline-script
|
||||
*$~inline-font
|
||||
|
||||
! invalid domain= option values
|
||||
*$domain=.toto.com|toto.com.|[ff00::00000]|1.1.1.1111
|
||||
|
||||
! invalid denyallow= option values
|
||||
*$denyallow=.toto.com|toto.com.|toto.*|~toto.com|~toto.*|[ff00::00000]|1.1.1.1111
|
||||
|
|
Loading…
Reference in a new issue