Index: LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-redirect-to-blocked-expected.txt |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-redirect-to-blocked-expected.txt b/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-redirect-to-blocked-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e0b9b9970c40a91096e7f864dc0e3433120991df |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-beacon-redirect-to-blocked-expected.txt |
@@ -0,0 +1,12 @@ |
+Verify that a CSP connect-src directive blocks redirects. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS navigator.sendBeacon("resources/redir.php?url=http://127.0.0.1:8080/navigation/resources/save-beacon.php%3Fname%3Dcsp-redirect-blocked", "ping"); is true |
+PASS Beacon not sent |
+PASS |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |