Skip to content

Commit

Permalink
Add ServiceWorker (#2357)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Brosset <patrickbrosset@gmail.com>
  • Loading branch information
autonome and captainbrosset authored Nov 29, 2024
1 parent bebe956 commit 8cf2e60
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
draft_date: 2024-11-21
name: Service Workers
description: TODO
name: Service workers
description: The service worker of a website is a script that runs in its own thread and which acts as local proxy that intercepts network requests from the website. Use a service worker to implement advanced caching strategies, offline support, background tasks, or push notification support on your website.
spec: https://w3c.github.io/ServiceWorker/
caniuse: serviceworkers
# Status computed to match Caniuse.
status:
compute_from:
- api.ServiceWorkerContainer.register
- api.ServiceWorkerRegistration.update
compat_features:
- api.Cache
- api.Cache.add
Expand Down Expand Up @@ -107,11 +112,3 @@ compat_features:
- api.caches.secure_context_required
- api.caches.worker_support
- http.headers.Service-Worker-Navigation-Preload

# The following features in the spec are already part of web-features:
# - JavaScript modules in service workers:
# - api.ServiceWorker.ecmascript_modules
# - messageerror:
# - api.ServiceWorkerContainer.messageerror_event
# - Push messages:
# - api.ServiceWorkerRegistration
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,17 @@
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
baseline: high
baseline_low_date: 2018-04-30
baseline_high_date: 2020-10-30
support:
chrome: "45"
chrome_android: "45"
edge: "17"
firefox: "44"
firefox_android: "44"
safari: "11.1"
safari_ios: "11.3"
compat_features:
# baseline: high
# baseline_low_date: 2018-04-12
Expand Down Expand Up @@ -240,6 +249,7 @@ compat_features:
# safari_ios: "11.3"
- api.FetchEvent.FetchEvent

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2018-04-30
# baseline_high_date: 2020-10-30
Expand Down

0 comments on commit 8cf2e60

Please sign in to comment.