Skip to content

Workbox v4.1.1

Compare
Choose a tag to compare
@philipwalton philipwalton released this 15 Mar 22:08

馃悰 What's Fixed?

workbox-window

  • The removeEventListener() method of the Workbox class would throw due to an implementation error, this has been fixed. [#1963]

  • If, at registration time, there was already both an active and waiting service worker with the same script URL as the one being registered, calling getSW() or messageSW() after registration would target the active service worker rather than the waiting service worker. The intended behavior is that the target service worker associated with a Workbox instance is always the most recently registered service worker with a matching script URL. These methods now target the waiting service worker [#1961]

Thanks!

Special thanks to @donavon for contributions that went into this release.