chromium/third_party/blink/web_tests/http/tests/security/contentSecurityPolicy/resources/referrer-test-endpoint.php

<html>
<head>
<script>
    var referrerHeader = "<?php echo $_SERVER['HTTP_REFERER'] ?>";
    window.top.postMessage(referrerHeader, "*");
</script>
</head>
</html>