From 457b92323d501458a2b4023d0022a35308ab0b07 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Tue, 1 Feb 2022 16:21:32 -0600 Subject: [PATCH] Fix connect-src-eventsource-allowed test This test did not properly test if eventsources were allowed. It was previously blocked in all browser engines because {{domains[www1]}} was not an allowed host. When a violation was reported it incorrectly logged "allowed" and on an exception (which only WebKit triggers) logged "blocked". This now tests what it was supposed to test and works on all 3 engines. --- .../connect-src-eventsource-allowed.sub.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html b/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html index 8922d99e0392fa..1edaf319dc9215 100644 --- a/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html +++ b/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html @@ -14,21 +14,18 @@