From c68a7da9ff1e6cf33aef3349638eb6cea2a38926 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Mon, 10 Aug 2020 10:35:21 -0400 Subject: [PATCH] Add more test patterns Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/877 --- 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 85daa48dd..7b1ab8a03 100644 --- a/docs/tests/static-filtering-parser-checklist.txt +++ b/docs/tests/static-filtering-parser-checklist.txt @@ -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