Subresource Download Links
- Category
- Network / Connectivity
- Type
- New or changed feature
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
Summary
Some websites host downloadable content on third-party domains (e.g. CDN domains) and those domains use cookies to access-control the content. Normally, this can be achieved using a SameSite=None cookie, which can be set by the third-party domain and then sent in the download data requests. However, when browsers restrict third-party cookies, a third-party domain cannot set a cookie without invoking the Storage Access API. One privacy-preserving alternative is partitioned cookies (aka CHIPS). The problem is that currently the browser considers all download data requests as top-level navigation requests, so it is currently impossible to include third-party partitioned cookies in those requests. This proposal is for a new HTML API for download links which would allow the site to opt into the download data requests be treated as subresource requests originating from the frame the user clicked the download link on.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=subresource-download-links
- 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+Subresource%20Download%20Links
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Subresource%20Download%20Links
- Baseline status: https://webstatus.dev/?q=Subresource%20Download%20Links
Explainers: https://github.com/explainers-by-googlers/subresource-download-links