Web platform features explorer

Shared storage locks

This feature is discouraged — Following the announcement that Chrome will maintain its current approach to third-party cookies, Chrome decided to withdraw certain Privacy Sandbox features including shared storage locks.

For more information, see: https://groups.google.com/a/chromium.org/g/blink-dev/c/uh5Ke6qyegc , https://chromestatus.com/feature/5076349064708096

The withLock option to set(), append(), delete(), clear(), and batchUpdate() methods of the sharedStorage API prevents duplicate reporting from cross-site race conditions.

Status

Discouraged

MDN documentation

No MDN documentation found.

Browser support

  • Chrome 134 Released on 2025-03-04
  • Chrome Android 134 Released on 2025-03-04
  • Edge 134 Released on 2025-03-06
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS