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

[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

Re: [whatwg] Notifications: usage feedback

2013-10-16 Thread James Burke
On Mon, Oct 14, 2013 at 7:09 AM, Anne van Kesteren ann...@annevk.nl wrote: It seems using a structured clone makes the most sense. Transfering objects won't work here. It's not entirely clear to me what the best is for Blob, File, etc. Effectively the page can shut down, but they will still

Re: [whatwg] Notifications: usage feedback

2013-09-30 Thread James Burke
On Fri, Sep 27, 2013 at 12:54 AM, Andrew Wilson atwil...@google.com wrote: So, I'm not entirely sure how many lessons taken from the FirefoxOS implementation are applicable to the API for web pages in general, but I agree that what do we do if the user clicks on a notification after the parent

[whatwg] Notifications: usage feedback

2013-09-26 Thread James Burke
This Notifications feedback comes from using them in FirefoxOS for the email web app. It uses an alarm API to periodically wake up, do an email sync, and if new messages, creates some Notifications. The web app may also shut itself down if it was not already opened in a visible state. The OS may

Re: [whatwg] API to delay the document load event (continued)

2013-05-08 Thread James Burke
On Mon, May 6, 2013 at 2:17 PM, David Bruant bruan...@gmail.com wrote: Le 06/05/2013 21:35, James Burke a écrit : Just going on my experience (admittedly a limited data set): anything that actually binds to document load really wants to know when all resources loaded (images/iframes) and page

Re: [whatwg] API to delay the document load event (continued)

2013-05-08 Thread James Burke
On Tue, May 7, 2013 at 3:12 PM, Bjoern Hoehrmann derhoe...@gmx.net wrote: * James Burke wrote: I just joined the mailing list, so I apologize for not continuing the existing thread started here: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-April/039422.html Disclaimer: I submitted

[whatwg] API to delay the document load event (continued)

2013-05-06 Thread James Burke
I just joined the mailing list, so I apologize for not continuing the existing thread started here: http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-April/039422.html Disclaimer: I submitted the Mozilla Bugzilla ticket for some kind of capability in this area. Summarizing previous