1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

Add more tests for domain= and denyallow= options

This commit is contained in:
Raymond Hill 2020-09-18 09:18:32 -04:00
parent 8d5086cfd5
commit 7e906b33c5
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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