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

Side by Side Diff: LayoutTests/http/tests/security/resources/green-if-no-referrer.php

Issue 534233002: Make sure to use the correct referrer policy in the FrameFetchContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?php
2 header('Content-Type: image/png');
3 if ($_SERVER['HTTP_REFERER'] != '') {
4 $img = 'red200x100.png';
5 } else {
6 $img = 'green250x50.png';
7 }
8 echo file_get_contents($img);
9 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698