Description
Request for Mozilla Position on an Emerging Web Specification
- Specification Title: requestStorageAccessFor
- Specification or proposal URL: https://github.com/privacycg/requestStorageAccessForOrigin
- Caniuse.com URL (optional): N/A
- Bugzilla URL (optional): N/A
- Mozillians who can provide input (optional): @bvandersloot-mozilla @martinthomson
Other information
The proposed requestStorageAccessFor
API builds on the Storage Access API to allow non-iframe use. This affords more control for the top-level site as cross-site cookies continue to be phased out; it also allows partial restoration of the page-level behavior of requestStorageAccess
, which will be retired in favor of a per-frame model. Like requestStorageAccess
, implementation-defined behavior allows different user agents flexibility to apply policies as they see fit, though the hope is that divergence will be minimized.
Note that this proposal is similar to an internal shim API implemented by both Safari and Firefox.
Prior discussions have surfaced the need for embeddee opt-in, which the API attempts to ensure via requiring invocation of requestStorageAccess
for frame-level access (the same way a prior requestStorageAccess
grant is proposed to waive the user interaction requirement in the per-frame requestStorageAccess
model); requiring CORS on subresource requests to the embeddee from the top-level site in order for cookies to be included; and applying only to explicitly SameSite=None
cookies.
Metadata
Metadata
Assignees
Type
Projects
Status