- From: Arthur Stolyar <notifications@github.com>
- Date: Tue, 12 Apr 2016 09:21:33 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 12 April 2016 16:22:14 UTC
> * Bug in Gecko: registration.installing and activating currently returns null Hm.. always? I am using it here: https://github.com/NekR/offline-plugin/blob/v3/tpls/runtime-template.js#L15 Does it mean that this won't work in Firefox? I am trying to achive this, which works currently fine in Chrome: ```js const runtime = require('offline-plugin/runtime'); runtime.install({ onUpdating: () => { console.log('SW Event:', 'onUpdating'); }, onUpdateReady: () => { console.log('SW Event:', 'onUpdateReady'); runtime.applyUpdate(); }, onUpdated: () => { console.log('SW Event:', 'onUpdated'); window.location.reload(); }, onUninstalled: () => { console.log('SW Event:', 'onUninstalled'); } }); ``` --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/860#issuecomment-208988813
Received on Tuesday, 12 April 2016 16:22:14 UTC