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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php

Issue 2400443004: Walk up frame tree for srcdoc referrer policies (Closed)
Patch Set: fix dynamic policy test Created 4 years, 2 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
Index: third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php b/third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php
index a5378c27ca01d833ab74ef3bb38cc7ab5a81ce2a..e24eb6311cdcd2d455fc55bd367fb3e247536678 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php
+++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/echo-referrer-header.php
@@ -1,4 +1,5 @@
<?php
+header("Access-Control-Allow-Origin: *");
$referrer = $_SERVER['HTTP_REFERER'];
if ($referrer == "") {
echo "HTTP Referer header is empty";

Powered by Google App Engine
This is Rietveld 408576698