google chrome - Replacement for ExtendableEvent.waitUntil in Service Worker -
apparently, chrome 61 not allow waituntil
on custom, script-dispatched extendableevent
s' event handlers. motive behind this, people abuse service worker dispatching custom extendableevent
s 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
Post a Comment