Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/multiple-report-policies.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/multiple-report-policies.php b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/multiple-report-policies.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3414be6cb61dfe20c3aa6219346efca8e3e1c3f6 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/multiple-report-policies.php |
@@ -0,0 +1,14 @@ |
+<?php |
+header("Content-Security-Policy-Report-Only: img-src http://* https://*; default-src 'self'; report-uri resources/save-report.php?test=multiple-report-policies-1, img-src http://*; default-src 'self'; report-uri resources/save-report.php?test=multiple-report-policies-2"); |
+?> |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <script src="resources/report-test.js"></script> |
+</head> |
+<body> |
+ <img src="ftp://blah.test" /> |
+ <iframe src="/security/contentSecurityPolicy/resources/echo-report.php?test=multiple-report-policies-1"></iframe> |
+ <iframe src="/security/contentSecurityPolicy/resources/echo-report.php?test=multiple-report-policies-2"></iframe> |
+</body> |
+</html> |