v150 · Deprecation · Storage Access
API Surface Probe
Live check of all three Storage Access API methods in this browser — hasStorageAccess(), requestStorageAccess(), and requestStorageAccessFor(). The last one is deprecated in Chrome 150; the first two are the supported replacement path.
Probing Storage Access API surfaces…
| API surface | present | Chrome 150 status | notes |
|---|
Live API calls (run from this first-party context)
Click a button to call the API and see the result.
Migration: requestStorageAccessFor → requestStorageAccess
Deprecated (pre-Chrome 150)
// Top-level page requesting storage
// access on behalf of an embedded site
await document.requestStorageAccessFor(
'https://embedded.example.com'
);
// Deprecated — Chrome 150 removes this
Replacement (Chrome 150+)
// Inside the embedded iframe:
const hasAccess = await document.hasStorageAccess();
if (!hasAccess) {
// Requires a user gesture
await document.requestStorageAccess();
}
// Embedded site owns the request
see also
- requestStorageAccessFor deprecation — feature index
- Storage Access Migration Guide — replacement patterns
- ChromeStatus entry
- PrivacyCG requestStorageAccessFor API
- PrivacyCG Storage Access API
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗