Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/security/resources/green-if-no-referrer-css.php |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/green-if-no-referrer-css.php b/third_party/WebKit/LayoutTests/http/tests/security/resources/green-if-no-referrer-css.php |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..83037134d5e1fcc93eee888853ed30dd0e63e1ec |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/green-if-no-referrer-css.php |
| @@ -0,0 +1,8 @@ |
| +<?php |
| +header('Content-Type: text/css'); |
| +if ($_SERVER['HTTP_REFERER'] == '') { |
| + echo "body { background-color: green; }"; |
| +} else { |
| + echo "body { background-color: red; }"; |
| +} |
| +?> |