chromium/third_party/blink/web_tests/http/tests/security/resources/referrer-policy-script.php

var referrerHeader = "<?php echo ($_SERVER['HTTP_REFERER'] ?? null) ?>";
if (referrerHeader === "")
    scriptReferrer = "none";
else
    scriptReferrer = referrerHeader;