COOP: restrict-properties
- Category
- Security
- Type
- New or changed feature
- Status
- On hold (Chrome On hold)
- Intent stage
- Evaluate readiness to ship
Summary
Cross-Origin-Opener-Policy is used to sever the relationship between popup and openers, to increase security. "restrict-properties" is a proposed value that restricts the relationship instead of completely severing it. It would enable crossOriginIsolated when paired with COEP.
Motivation
Developers that want their website to be crossOriginIsolated currently need to give up all relationship with popups. This makes it impossible for websites that use SSO, payments or other APIs that function via popups to be crossOriginIsolated. For these websites, we propose a new COOP value, "restrict-properties" that allows communication via postMessage and closed, while enabling crossOriginIsolated.
Standards & signals
- Specification: https://github.com/whatwg/html/issues/6364
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1221127
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=coop-restrict-properties
- 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+COOP%3A%20restrict-properties
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=COOP%3A%20restrict-properties
- Baseline status: https://webstatus.dev/?q=COOP%3A%20restrict-properties
Explainers: https://github.com/WICG/coop-restrict-properties