How we built it

ServiceWorkerRegistration.update() returns a promise

update() pings the server for an updated version of this Service Worker registration. This feature was shipped in milestone 45. In milestone 46, update() returns a promise that resolves with 'undefined' if the operation completed successfully or there was no update, and rejects if update failed. If the new worker ran but installation failed, the promise still resolves (same with register()).



Editor's draft

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 46
  • Chrome for Android release 46
  • Opera release 33
  • Opera for Android release 33

Consensus & Standardization

  • In development
  • No public signals
  • No public signals
  • No signals


Last updated on 2015-08-21