Remove: <meta name=referrer content=list,of,policies>
- Category
- Network / Connectivity
- Type
- New or changed feature
- Status
- Proposed (Chrome Proposed)
- Intent stage
- Shipped
WPT details: Referrer policy handling as a whole has pretty extensive test coverage for the "positive" cases (setting referrers correctly by interpreting collections of syntactically valid meta tags in compliance with the standard) but doesn't have explicit coverage for this "negative" case confirming that engines don't allow overly permissive syntax. At a minimum, this change will include a Blink web test regression-testing that we no longer support the overly permissive behavior. It could theoretically add WPTs checking this, too, but it's not clear this is appropriate.
Summary
Chromium allows <meta name=referrer> tags, which specify referrer policies, that contain values with comma-separated lists of policies. We plan to remove this functionality, so that <meta name=referrer>'s content attribute will need to be a single policy.
Motivation
The HTML spec, which specifies the tag's behavior, only allows single-policy values in the tag. Gecko and WebKit both only allow single-policy values, too, consistent with the spec. We plan to deprecate and remove Chromium's out-of-spec functionality to improve interoperability.
Standards & signals
- Specification: https://html.spec.whatwg.org/
- Firefox: Shipped/Shipping
- Safari: Shipped/Shipping
- Web developers: No signals
- Tracking bug: https://crbug.com/1092930
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=remove-meta-name-referrer-content-list-of-policies
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Remove%3A%20%3Cmeta%20name%3Dreferrer%20content%3Dlist%2Cof%2Cpolicies%3E
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Remove%3A%20%3Cmeta%20name%3Dreferrer%20content%3Dlist%2Cof%2Cpolicies%3E
- Baseline status: https://webstatus.dev/?q=Remove%3A%20%3Cmeta%20name%3Dreferrer%20content%3Dlist%2Cof%2Cpolicies%3E