google chrome - Replacement for ExtendableEvent.waitUntil in Service Worker -


apparently, chrome 61 not allow waituntil on custom, script-dispatched extendableevents' event handlers. motive behind this, people abuse service worker dispatching custom extendableevents keep service worker alive.

i trying implement along lines of example: https://github.com/googlechrome/samples/tree/gh-pages/service-worker/offline-analytics

my network requests need return response, after can delete it's respective entry indexeddb. experimenting on chrome 59, use waituntil on custom extendableevent, since chrome not allow me use anymore v61, trying figure out different approach achieve same result.

thanks!


Comments

Popular posts from this blog

vue.js - Create hooks for automated testing -

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

serial port - hub4com OVERRUN Error -