From 7e906b33c5470795dbee43b38ab7d0658a9ba48a Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 18 Sep 2020 09:18:32 -0400 Subject: [PATCH] Add more tests for `domain=` and `denyallow=` options --- docs/tests/static-filtering-parser-checklist.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/tests/static-filtering-parser-checklist.txt b/docs/tests/static-filtering-parser-checklist.txt index db16f8a39..8d8a749ba 100644 --- a/docs/tests/static-filtering-parser-checklist.txt +++ b/docs/tests/static-filtering-parser-checklist.txt @@ -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