Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/referrer-from-document-on-preload.php |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/referrer-from-document-on-preload.php b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/referrer-from-document-on-preload.php |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a8a89cce3eb89d4a3b7c85c61492edfd4d5482e8 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/referrer-from-document-on-preload.php |
| @@ -0,0 +1,8 @@ |
| +<?php |
| +header("Content-Security-Policy: referrer origin-when-cross-origin"); |
| +?> |
| +<html> |
| +<head> |
| +</head> |
| +<img src="http://localhost:8000/security/resources/green-if-referrer-is-origin.php" /> |
| +</html> |