Skip to content

Commit ea0ac4f

Browse files
authored
Add keys to Background sync (#2060)
1 parent 40ee67b commit ea0ac4f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

features/background-sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Background sync
22
description: The background synchronization API registers a service worker callback to run only when the device is no longer offline. You can use this to let users continue using your app while offline and synchronize with a server after reconnecting.
33
spec: https://wicg.github.io/background-sync/spec/
4+
status:
5+
compute_from: api.SyncManager
46
compat_features:
57
- api.ServiceWorkerGlobalScope.sync_event
68
- api.ServiceWorkerRegistration.sync
@@ -11,3 +13,4 @@ compat_features:
1113
- api.SyncManager
1214
- api.SyncManager.getTags
1315
- api.SyncManager.register
16+
- api.SyncManager.worker_support

features/background-sync.yml.dist

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ status:
88
chrome_android: "49"
99
edge: "79"
1010
compat_features:
11+
# ⬇️ Same status as overall feature ⬇️
12+
# baseline: false
13+
# support:
14+
# chrome: "49"
15+
# chrome_android: "49"
16+
# edge: "79"
1117
- api.ServiceWorkerGlobalScope.sync_event
1218
- api.ServiceWorkerRegistration.sync
1319
- api.SyncEvent
@@ -17,3 +23,10 @@ compat_features:
1723
- api.SyncManager
1824
- api.SyncManager.getTags
1925
- api.SyncManager.register
26+
27+
# baseline: false
28+
# support:
29+
# chrome: "61"
30+
# chrome_android: "61"
31+
# edge: "79"
32+
- api.SyncManager.worker_support

0 commit comments

Comments
 (0)