Re: [whatwg] Shared workers with worker parents

2015-06-22 Thread James Burke
On Mon, Jun 22, 2015 at 2:01 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: How can a ServiceWorker keep a SharedWorker alive, when a ServiceWorker does not, itself, have any lifetime guarantees? In fact, it's virtually guaranteed to be shut down regularly. Service workers will be used for

Re: [whatwg] Shared workers with worker parents

2015-06-22 Thread Tab Atkins Jr.
On Fri, Jun 19, 2015 at 3:55 PM, James Burke jrbu...@gmail.com wrote: For some of the apps that run on Firefox OS, we want to use a Service Worker to handle a background sync message, but allow that Service Worker to contact a Shared Worker to do the work. This allows the app's open browser

[whatwg] Shared workers with worker parents

2015-06-19 Thread James Burke
For some of the apps that run on Firefox OS, we want to use a Service Worker to handle a background sync message, but allow that Service Worker to contact a Shared Worker to do the work. This allows the app's open browser windows, which also can trigger a sync, to use the same Shared Worker to