| Index: tests/test_parser.py |
| =================================================================== |
| --- a/tests/test_parser.py |
| +++ b/tests/test_parser.py |
| @@ -67,6 +67,13 @@ |
| (OPT.SITEKEY, ['foo', 'bar']), |
| ], |
| }, |
| + "||foo.com^$csp=script-src 'self' * 'unsafe-inline'": { |
| + 'selector': {'type': ST.URL_PATTERN, 'value': '||foo.com^'}, |
| + 'action': FA.BLOCK, |
| + 'options': [ |
| + (OPT.CSP, "script-src 'self' * 'unsafe-inline'"), |
| + ], |
| + }, |
| # Element hiding filters and exceptions. |
| '##ddd': { |
| 'selector': {'type': ST.CSS, 'value': 'ddd'}, |