Skip to content

Commit e2dbe5d

Browse files
authored
Add shared-storage-locks (#2638)
* `shared-storage`: add more keys * Add `shared-storage-locks`
1 parent 63abdac commit e2dbe5d

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

features/shared-storage-locks.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Shared storage locks
2+
description: The `withLock` option to `set()`, `append()`, `delete()`, `clear()`, and `batchUpdate()` methods of the `sharedStorage` API prevents duplicate reporting from cross-site race conditions.
3+
spec: https://wicg.github.io/shared-storage/#web-locks-integration
4+
compat_features:
5+
- api.SharedStorage.batchUpdate
6+
- api.SharedStorageAppendMethod
7+
- api.SharedStorageAppendMethod.SharedStorageAppendMethod
8+
- api.SharedStorageClearMethod
9+
- api.SharedStorageClearMethod.SharedStorageClearMethod
10+
- api.SharedStorageDeleteMethod
11+
- api.SharedStorageDeleteMethod.SharedStorageDeleteMethod
12+
- api.SharedStorageModifierMethod
13+
- api.SharedStorageSetMethod
14+
- api.SharedStorageSetMethod.SharedStorageSetMethod
15+
# It's possible that BCD could at some point record keys including:
16+
# - api.SharedStorage.append.options_parameter.options_withLock_parameter
17+
# - api.SharedStorage.clear.options_parameter.options_withLock_parameter
18+
# - api.SharedStorage.delete.options_parameter.options_withLock_parameter
19+
# - api.SharedStorage.set.options_parameter.options_withLock_parameter
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated from: shared-storage-locks.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- api.SharedStorage.batchUpdate
9+
- api.SharedStorageAppendMethod
10+
- api.SharedStorageAppendMethod.SharedStorageAppendMethod
11+
- api.SharedStorageClearMethod
12+
- api.SharedStorageClearMethod.SharedStorageClearMethod
13+
- api.SharedStorageDeleteMethod
14+
- api.SharedStorageDeleteMethod.SharedStorageDeleteMethod
15+
- api.SharedStorageModifierMethod
16+
- api.SharedStorageSetMethod
17+
- api.SharedStorageSetMethod.SharedStorageSetMethod

0 commit comments

Comments
 (0)