Limited Availability
id: shared-storage-locks
Shared storage locks
The
withLock option to set(), append(), delete(), clear(), and batchUpdate() methods of the sharedStorage API prevents duplicate reporting from cross-site race conditions.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
134
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
134
Supported
Mobile Browser Engine Support
Chrome Android
134
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.SharedStorage.batchUpdate ↗
api.SharedStorageAppendMethod ↗
api.SharedStorageAppendMethod.SharedStorageAppendMethod ↗
api.SharedStorageClearMethod ↗
api.SharedStorageClearMethod.SharedStorageClearMethod ↗
api.SharedStorageDeleteMethod ↗
api.SharedStorageDeleteMethod.SharedStorageDeleteMethod ↗
api.SharedStorageModifierMethod ↗
api.SharedStorageSetMethod ↗
api.SharedStorageSetMethod.SharedStorageSetMethod ↗