Re: Running C++ early in shutdown without an observer

2019-06-07 Thread David Teller
Have you looked at nsIAsyncShutdown? On 07/06/2019 08:18, Henri Sivonen wrote: > For late shutdown cleanup, we have nsLayoutStatics::Shutdown(). Do we > have a similar method for running things as soon as we've decided that > the application is going to shut down? > > (I know there are observer

Running C++ early in shutdown without an observer

2019-06-07 Thread Henri Sivonen
For late shutdown cleanup, we have nsLayoutStatics::Shutdown(). Do we have a similar method for running things as soon as we've decided that the application is going to shut down? (I know there are observer topics, but I'm trying to avoid having to create an observer object and to make sure that

Intent to implement and ship: blob.text(), blob.arrayBuffer(), blob.stream()

2019-06-07 Thread Andrea Marchesini
Summary: implement and ship 3 new methods to read Blob contents: blob.text(), blob.arrayBuffer() and blob.stream(). Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1557121 Link to standard: https://w3c.github.io/FileAPI https://github.com/w3c/FileAPI/pull/117 Platform coverage: all.

Re: Running C++ early in shutdown without an observer

2019-06-07 Thread Kris Maglione
On Fri, Jun 07, 2019 at 09:18:38AM +0300, Henri Sivonen wrote: For late shutdown cleanup, we have nsLayoutStatics::Shutdown(). Do we have a similar method for running things as soon as we've decided that the application is going to shut down? (I know there are observer topics, but I'm trying to

Re: To what extent is sccache's distributed compilation usable?

2019-06-07 Thread Chris M.
I've been working through issues with distributed sccache, but I've recently sent instructions to people currently running icecream in the SF office on how to switch to running sccache-dist with IT managed hardware. We're going to use that as a test bed before rolling out more widely, and if all

Re: Intent to implement and ship: blob.text(), blob.arrayBuffer(), blob.stream()

2019-06-07 Thread Boris Zbarsky
On 6/7/19 8:47 AM, Andrea Marchesini wrote: Summary: implement and ship 3 new methods to read Blob contents: blob.text(), blob.arrayBuffer() and blob.stream(). Looks good to me. -Boris ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Running C++ early in shutdown without an observer

2019-06-07 Thread Kris Maglione
On Fri, Jun 07, 2019 at 11:40:05AM -0700, Chris Peterson wrote: Note that on Android, you may never get an opportunity for a clean shutdown because the OS can kill your app at any time. I don't know what is the recommendation for shutdown activities on Android. The GeckoView team has had some

Re: Running C++ early in shutdown without an observer

2019-06-07 Thread Chris Peterson
On 6/7/2019 9:36 AM, Kris Maglione wrote: On Fri, Jun 07, 2019 at 09:18:38AM +0300, Henri Sivonen wrote: For late shutdown cleanup, we have nsLayoutStatics::Shutdown(). Do we have a similar method for running things as soon as we've decided that the application is going to shut down? (I know

Re: Running C++ early in shutdown without an observer

2019-06-07 Thread David Teller
Even on Desktop, we needed to move some cleanup to startup, in case the process was killed by the OS. On 07/06/2019 20:40, Chris Peterson wrote: > On 6/7/2019 9:36 AM, Kris Maglione wrote: >> On Fri, Jun 07, 2019 at 09:18:38AM +0300, Henri Sivonen wrote: >>> For late shutdown cleanup, we have