Chromium Code Reviews| Index: LayoutTests/http/tests/security/resources/referrer-policy-script.php |
| diff --git a/LayoutTests/http/tests/security/resources/referrer-policy-script.php b/LayoutTests/http/tests/security/resources/referrer-policy-script.php |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..52c986ba326c4052ad324cf651fece93e4c1acac |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/security/resources/referrer-policy-script.php |
| @@ -0,0 +1,3 @@ |
| +var referrerHeader = "<?php echo $_SERVER['HTTP_REFERER'] ?>"; |
| +if (referrerHeader === "") |
| + scriptReferrer = "none"; |