fn strip_url_for_use_as_referrer( url: ServoUrl, origin_only: bool, ) -> Option<ServoUrl>
https://w3c.github.io/webappsec-referrer-policy/#strip-url