I have a vue app that uses registerServiceWorker.js, on chrome the updatefound and updated hooks are invoked as expected in order. But for firefox I observe that cached is called instead of updated.
Perhaps firefox has different behaviour for ServiceWorkerRegistration::update(), where the container is set to null for some reason.
Running Firefox 81.0.2.
I have a vue app that uses
registerServiceWorker.js
, on chrome theupdatefound
andupdated
hooks are invoked as expected in order. But for firefox I observe thatcached
is called instead ofupdated
.Perhaps firefox has different behaviour for
ServiceWorkerRegistration::update()
, where thecontainer
is set to null for some reason.This if differs in execution