demo · v144

rSAFor Note

Check whether document.requestStorageAccessFor is gone from this build. Try the recommended replacement — requestStorageAccess() from inside the third-party context that actually wants cookie access.

storage access probe:

recommended replacement — document.requestStorageAccess()

click a button to try the replacement API

migration shape

// BEFORE (removed in Chrome 144) — top frame asked on behalf of a third party
await document.requestStorageAccessFor('https://embedded.example');

// AFTER — the third-party frame asks for itself
// inside the iframe at embedded.example:
const granted = await document.requestStorageAccess();

see also