Origin Policy
- Category
- Network / Connectivity
- Type
- New or changed feature
- Status
- No longer pursuing (Chrome No longer pursuing)
- Intent stage
- Parked
WPT details: https://wpt.fyi/results/origin-policy
Summary
Origin Policy provides a mechanism for defining configuration options with origin-wide impact. This status item covers Origin Policy infrastructure and support for Content Security Policy and Feature Policy policy items.
Motivation
Developers set a number of properties associated with resources on an origin by delivering resource-specific HTTP response headers and meta elements. However, the existing delivery mechanism is ill-suited to the task, suffering from a clear mismatch between the resource-specific nature of the metadata declarations on the one hand, and the origin-wide intent of the metadata on the other. Origin policy provides a centralized per-origin location for configurations that can apply across an origin, such as CSP, feature policy, origin isolation, network error logging, and more.
Standards & signals
- Specification: https://wicg.github.io/origin-policy/
- Firefox: Positive — "worth prototyping"
- Safari: No signal
- Web developers: Positive — Various sites have expressed support, mostly as part of the WebAppsSec discussions, for the things which are enabled by origin policy.
- Tracking bug: https://crbug.com/751996
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=origin-policy
- 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+Origin%20Policy
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Origin%20Policy
- Baseline status: https://webstatus.dev/?q=Origin%20Policy
Explainers: https://github.com/WICG/origin-policy/blob/master/README.md