Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Unified Diff: LayoutTests/http/tests/xmlhttprequest/resources/echo-request-origin.php

Issue 594803002: Transfer SecurityOrigin overrides to Workers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename transferPrivileges() to transferPrivilegesFrom() over security origins Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/resources/frame-with-insecure-xhr.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>';
+?>
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/resources/frame-with-insecure-xhr.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698