Index: LayoutTests/http/tests/xmlhttprequest/resources/redirect-cors-origin-null-pass.php |
diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/redirect-cors-origin-null-pass.php b/LayoutTests/http/tests/xmlhttprequest/resources/redirect-cors-origin-null-pass.php |
new file mode 100755 |
index 0000000000000000000000000000000000000000..035ba4d2314039f53e15ab22e57a1d52e951b739 |
--- /dev/null |
+++ b/LayoutTests/http/tests/xmlhttprequest/resources/redirect-cors-origin-null-pass.php |
@@ -0,0 +1,7 @@ |
+<?php |
+ $request_origin_value = $_SERVER["HTTP_ORIGIN"]; |
+ if (!is_null($request_origin_value)) { |
+ header("Access-Control-Allow-Origin: null"); |
+ echo "PASS"; |
+ } |
+?> |