Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ServiceWorker #2357

Merged
merged 4 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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