Re: [w3c/ServiceWorker] Should 'Extend Service Worker Lifetime' be called after dispatching 'message' (#1050)

I believe in practice both chrome and firefox extend the lifetime for message events.

There needs to be some protection against using `self.registration.active.postMessage()` to self-post and stay alive forever.  Currently firefox does not have this problem because we don't expose ServiceWorker object on the worker context.  (Its a bug.)  I think chrome handles this case by only extending the lifetime of the SW if the calling SW has a controlled Client.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1050#issuecomment-271311859

Received on Monday, 9 January 2017 15:24:34 UTC