Index: LayoutTests/http/tests/xmlhttprequest/resources/echo-request-origin.php |
diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/echo-request-origin.php b/LayoutTests/http/tests/xmlhttprequest/resources/echo-request-origin.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d920664dd12c238df02b064bc473311103f82bb5 |
--- /dev/null |
+++ b/LayoutTests/http/tests/xmlhttprequest/resources/echo-request-origin.php |
@@ -0,0 +1,7 @@ |
+<?php |
+header('Content-Type: text/plain'); |
+if (isset($_SERVER['HTTP_ORIGIN'])) |
+ echo 'Origin: ' . $_SERVER['HTTP_ORIGIN']; |
+else |
+ echo 'Origin: <missing>'; |
+?> |