From 96efcc335bbd9f2ad098e694d6cff6c1c22b4ce8 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 5 Mar 2022 15:54:53 +0100 Subject: improve script blocking in non-HTML documents (XML) --- test/haketilo_test/world_wide_library.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/haketilo_test/world_wide_library.py') diff --git a/test/haketilo_test/world_wide_library.py b/test/haketilo_test/world_wide_library.py index fedfeb6..1a90c42 100644 --- a/test/haketilo_test/world_wide_library.py +++ b/test/haketilo_test/world_wide_library.py @@ -234,6 +234,8 @@ catalog = { 'https://gotmyowndoma.in/scripts_to_block_1.html': (200, {}, here / 'data' / 'pages' / 'scripts_to_block_1.html'), + 'https://gotmyowndoma.in/scripts_to_block_2.xml': + (200, {}, here / 'data' / 'pages' / 'scripts_to_block_2.xml'), 'https://anotherdoma.in/resource/blocked/by/CORS.json': lambda command, get_params, post_params: (200, {}, some_data), -- cgit v1.2.3