Partitioned Popins
- Category
- Offline / Storage
- Type
- New or changed feature
- Status
- On hold (Chrome On hold)
- Intent stage
- None
Summary
*NOTE: Code was removed in Chrome 144 and this is no longer being pursued* A new web primitive is needed to cover short-lived popup use cases which require access to storage partitioned by the popup opener. This primitive should be private and secure by default, while providing a consistent UI experience across user agents. To solve this need, we propose the “Partitioned Popin”, a type of pop-up for loading web content with two unique new features: a modal-like UI relative to its opener tab and cookies/storage being partitioned to its opener context.
Motivation
Many smaller businesses and applications on the web currently use third-party vendors to perform or facilitate security sensitive operations such as authentication. These third-party vendors prefer to be loaded in top-level contexts so that they are not subject to clickjacking or script injection attacks by a compromised relying party. This ‘popin’ could be useful for any sites wanting a consistent way to prompt the user to interact with a new window in a way that makes it clear what site initiated the interaction. Making the ‘popin’ partitioned by its opener ensures the privacy of an iframe (restricting access to first-party storage) while retaining the security of a top-level navigation (isolating the process).
Standards & signals
- Specification: https://github.com/arichiv/partitioned-popins
- Firefox: Defer
- Safari: Closed Without a Position
- Web developers: No signals
- Tracking bug: https://issues.chromium.org/issues/340606651
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=partitioned-popins
- 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+Partitioned%20Popins
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Partitioned%20Popins
- Baseline status: https://webstatus.dev/?q=Partitioned%20Popins