← Back to release summary

ServiceWorkerRegistration.update() resolves with a registration.

Category
Service Worker
Type
New or changed feature
Status
Enabled by default (Chrome 69)
Intent stage
None

Summary

ServiceWorkerRegistration.update() previously resolved with undefined. Now it resolves to the registration object as required by the specification.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/update

View on chromestatus.com