Index: LayoutTests/http/tests/security/resources/cors-style.php |
diff --git a/LayoutTests/http/tests/security/resources/cors-style.php b/LayoutTests/http/tests/security/resources/cors-style.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cf556bfc6a48b2032db4d95679683211eb3c0cf7 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/resources/cors-style.php |
@@ -0,0 +1,10 @@ |
+<?php |
+if (strtolower($_GET["cors"]) != "false") { |
+ header("Access-Control-Allow-Origin: http://127.0.0.1:8000"); |
+} |
+if (strtolower($_GET["credentials"]) == "true") { |
+ header("Access-Control-Allow-Credentials: true"); |
+} |
+header("Content-Type: text/css"); |
+echo ".id1 { background-color: yellow }"; |
+?> |