W3C home > Mailing lists > Public > public-device-apis@w3.org > July 2014

Re: [battery] Should getBattery() always return the same promise?

From: Fabrice Desré <fabrice@mozilla.com>
Date: Fri, 04 Jul 2014 15:00:23 -0700
Message-ID: <53B723F7.30507@mozilla.com>
To: public-device-apis@w3.org
On 07/04/2014 12:25 PM, Domenic Denicola wrote:
> Rick, Chromium has a multi-process architecture, whereas Firefox in
> general keeps most things in a single process. Thus Firefox has the
> ability to implement many more things synchronously than Chromium does.
> Implementation experience based on a single vendor is not terribly
> valuable in guiding API surface, especially in questions of sync vs.
> async, and especially when that vendor is Firefox (the only
> single-process modern browser, from what I understand).

FirefoxOS/b2g is multi-process too, so we care a about not doing undue
sync IPC. We are doing some for the battery (see
I can run some timings if people are interested in knowing how long we
are blocked in these calls.

Fabrice Desré
b2g team
Mozilla Corporation
Received on Friday, 4 July 2014 22:00:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:33:10 UTC