Add Storage Access API page (privacy, optional)#76
Merged
Conversation
New spec page documenting the W3C Privacy CG Storage Access API — the standard way for embedded cross-site content to request its own unpartitioned cookies behind a user gesture as browsers partition and block third-party cookies. Marked `optional`: it only applies to sites embedding cross-site content that needs first-party state (SSO, federated identity, signed-in widgets), and has shipped in all engines for years. Wires relatedSlugs on third-party-scripts, cookie-attributes, and permissions-policy; adds an `added` changelog entry; regenerates the count-driven OG images plus the new per-page image. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying specification-website with
|
| Latest commit: |
4f1e5c2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e4ee180e.specification-website.pages.dev |
| Branch Preview URL: | https://standards-scan-storage-acces.specification-website.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds a new spec page: Storage Access API under
privacy.<iframe>requests access to its own unpartitioned third-party cookies/state — behind a user gesture (transient activation), gated by user prompts and prior first-party interaction.SameSite=None; Securecookies, secure context, theallow-storage-access-by-user-activationsandbox token, thestorage-accessPermissions-Policy gate, and theSec-Fetch-Storage-Access/Activate-Storage-Accessheader workflow.relatedSlugsboth ways withthird-party-scripts,security/cookie-attributes, andsecurity/permissions-policy.addedchangelog entry and regenerates the count-driven OG images plus the new per-page image.Why now
Third-party cookies are being partitioned/blocked by default (Firefox Total Cookie Protection, Safari ITP, Chrome following). The Storage Access API is the standards-track replacement for the old "please disable your tracking protection" workaround — it restores access for legitimate cross-site cases (SSO, federated identity, personalisation widgets) without reopening the site to tracking. Cross-engine support is mature: Safari 11.1 (2018), Firefox 65 (2019), Edge 85 (2020), Chrome 119 (2023).
Primary source(s)
Document.requestStorageAccess()(context): https://developer.mozilla.org/en-US/docs/Web/API/Document/requestStorageAccessStatus:
optional— justificationIt genuinely depends on context (CONTRIBUTING's definition of
optional): the API only matters to sites that embed cross-site content needing first-party cookies/state. A standalone first-party site that sets its own cookies never needs it. Sooptional, notrecommended— honest about who it applies to, rather than inflating the bar.Notes
Linkheader change.npm run buildpasses (157 pages indexed); lint + prettier clean via pre-commit hook.Opened as a draft by the daily standards scan for maintainer review — not for auto-merge.
🤖 Generated with Claude Code