Index: LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php |
index d20196e14e743e105c93fdae2e60c9d44218579d..ad4f46f27ac4d2c58869792990d8d13b3160a765 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php |
@@ -1,5 +1,9 @@ |
<?php |
-header("Content-Security-Policy: sandbox " . $_GET["sandbox"]); |
+if ($_GET["report-only"]) { |
+ header("Content-Security-Policy-Report-Only: sandbox " . $_GET["sandbox"]); |
+} else { |
+ header("Content-Security-Policy: sandbox " . $_GET["sandbox"]); |
+} |
?> |
<!DOCTYPE html> |
<p>Ready</p> |