From 7bedbcbd80eba9359d2e905b7693923c76ce563d Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 17 Jan 2022 11:20:52 +0100 Subject: move policy enforcing code to a new file, include basic test --- test/data/pages/gotmyowndomain.html | 2 +- test/data/pages/gotmyowndomain_https.html | 4 +-- test/data/pages/scripts_to_block_1.html | 44 +++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 test/data/pages/scripts_to_block_1.html (limited to 'test/data') diff --git a/test/data/pages/gotmyowndomain.html b/test/data/pages/gotmyowndomain.html index 42c26cc..390cbcc 100644 --- a/test/data/pages/gotmyowndomain.html +++ b/test/data/pages/gotmyowndomain.html @@ -2,7 +2,7 @@ - + Schrodinger's Document diff --git a/test/data/pages/scripts_to_block_1.html b/test/data/pages/scripts_to_block_1.html new file mode 100644 index 0000000..6d868dd --- /dev/null +++ b/test/data/pages/scripts_to_block_1.html @@ -0,0 +1,44 @@ + + + + + + + + + + + + Click Meee! + + + + + + -- cgit v1.2.3