mirror of https://github.com/gorhill/uBlock.git
Add more tests for `domain=` and `denyallow=` options
This commit is contained in:
parent
8d5086cfd5
commit
7e906b33c5
|
@ -54,6 +54,14 @@ $script,redirect=noop.js
|
||||||
*$all,~inline-script
|
*$all,~inline-script
|
||||||
*$all,~inline-font
|
*$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
|
! Parsing should fail
|
||||||
|
@ -105,3 +113,9 @@ $
|
||||||
*$~popup
|
*$~popup
|
||||||
*$~inline-script
|
*$~inline-script
|
||||||
*$~inline-font
|
*$~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 New Issue