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

Adapt api.ServiceWorkerRegistration.onupdatefound to new events structure #15549

Merged
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
101 changes: 51 additions & 50 deletions api/ServiceWorkerRegistration.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,56 +397,6 @@
}
}
},
"onupdatefound": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/onupdatefound",
"spec_url": "https://w3c.github.io/ServiceWorker/#dom-serviceworkerregistration-onupdatefound",
"support": {
"chrome": {
"version_added": "40"
},
"chrome_android": {
"version_added": "40"
},
"edge": {
"version_added": "17"
},
"firefox": {
"version_added": "44",
"notes": "<a href='https://www.mozilla.org/en-US/firefox/organizations/'>Extended Support Releases (ESR)</a> before Firefox 78 ESR do not support service workers and the Push API."
},
"firefox_android": {
"version_added": "44"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "27"
},
"opera_android": {
"version_added": "27"
},
"safari": {
"version_added": "11.1"
},
"safari_ios": {
"version_added": "11.3"
},
"samsunginternet_android": {
"version_added": "4.0"
},
"webview_android": {
"version_added": "40"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"paymentManager": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/paymentManager",
Expand Down Expand Up @@ -1198,6 +1148,57 @@
}
}
},
"updatefound_event": {
"__compat": {
"description": "<code>updatefound</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event",
"spec_url": "https://w3c.github.io/ServiceWorker/#dom-serviceworkerregistration-onupdatefound",
"support": {
"chrome": {
"version_added": "40"
},
"chrome_android": {
"version_added": "40"
},
"edge": {
"version_added": "17"
},
"firefox": {
"version_added": "44",
"notes": "<a href='https://www.mozilla.org/en-US/firefox/organizations/'>Extended Support Releases (ESR)</a> before Firefox 78 ESR do not support service workers and the Push API."
},
"firefox_android": {
"version_added": "44"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "27"
},
"opera_android": {
"version_added": "27"
},
"safari": {
"version_added": "11.1"
},
"safari_ios": {
"version_added": "11.3"
},
"samsunginternet_android": {
"version_added": "4.0"
},
"webview_android": {
"version_added": "40"
}
},
"status": {
"experimental": true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like "experimental" is incorrectly set to true for lots of features in this file. Maybe worth a separate PR to fix?

"standard_track": true,
"deprecated": false
}
}
},
"updateViaCache": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updateViaCache",
Expand Down