[b2g] Should Apps Close Themselves?

2013-11-28 Thread Bob Thulfram
I had raised some questions earlier in another thread (Halting/Refreshing Apps on the Phone), one of which was that the commonly supported window.close() method didn't work on Firefox (any version) and the documentation says it won't work (but doesn't say why it doesn't work on Firefox when it

[b2g] Firefox Build Issue : Sony-Xperia-Arch

2013-11-28 Thread saurabh dubey
Hello, I am trying to build B2G for Sony Xperia Arch. while building its trying to fetch some packages from firefox website. Why is so? I am not having Internet access in my laptop. But I can download all the required packages to build the B2G. Finally I want to build my B2G in a manner that

Re: [b2g] Should Apps Close Themselves?

2013-11-28 Thread Alive
Hi Bob, Bob Thulfram thulf...@gmail.com 於 2013/11/28 下午4:23 寫道: My questions is this: if an app is open (but not in the foreground), is it running or halted? Does it take up resources? Or like some other phone systems, does it start shutting down older open apps when it runs out of memory?

Re: [b2g] [WebAPI] The Naming of PowerManager.screenEnabled Misleads the Gaia Developers

2013-11-28 Thread 陳侃如
Marco Chen mc...@mozilla.com writes: Hi Kan-Ru, 1. Changing PowerManager.screenEnabled is THE ONLY WAY to trigger the suspend. This is not true. The android kernel could call suspend at anytime when the wake lock count in kernel hits zero. When design power management API we must

Re: [b2g] How do we test (or, going to test) gecko/b2g/chrome/content/*.js ?

2013-11-28 Thread Zac Campbell
Hey Tim, we just finished updating the code for the UI test that switches DNT settings in Settings app. Now it checks the Gaia setting and Gecko pref. Apologies it took a bit longer than expected! Zac On 27/10/13 07:57, Tim Chien wrote: Hi, While working on DNT feature, I realized that

Re: [b2g] How do we test (or, going to test) gecko/b2g/chrome/content/*.js ?

2013-11-28 Thread Tim Chien
Thanks! Don't worry about that. I was using that as an example to point out a gap in our test coverage! On Thu, Nov 28, 2013 at 9:19 PM, Zac Campbell zcampb...@mozilla.com wrote: Hey Tim, we just finished updating the code for the UI test that switches DNT settings in Settings app. Now it

Re: [b2g] How do we test (or, going to test) gecko/b2g/chrome/content/*.js ?

2013-11-28 Thread Zac Campbell
ha! Ok well it has given us the impetus to upgrade some other tests that were previously only checking the settings to now check the prefs, too. On 28/11/13 14:43, Tim Chien wrote: Thanks! Don't worry about that. I was using that as an example to point out a gap in our test coverage! On

[b2g] GF Peak+ Cancellation

2013-11-28 Thread Stephan Bardubitzki
After having paid for the Geekphone Peak+ in July and accepting two delays, I had to learn today that this device is canceled. Instead Geekphone is now working on a multi OS device, however, this is not what I was looking for. (not to mention that I lost trust in GF) I need a FFOS device

[b2g] New APIs in 1.2

2013-11-28 Thread Andrew Overholt
A few of us put together a list of new APIs in 1.2 (between gecko 18 and 26): https://wiki.mozilla.org/NewAPIsInFxOS1.2 Please fix anything you see that's incorrect. Thanks! ___ dev-b2g mailing list dev-b2g@lists.mozilla.org

Re: [b2g] GF Peak+ Cancellation

2013-11-28 Thread Daniel Dressler
I know what you mean about the ZTE Open, my flashing efforts have left it with an infinite boot time. In comparison an old nexus s got flashed without problem. Downside being it appears that the nexus s is holding value better than one would expect from such an old phone:

Re: [b2g] GF Peak+ Cancellation

2013-11-28 Thread an
This is all very encouraging while I expect a zte open any day now but I'm sure I'm not the only masochist :) I followed this list for a while now and at one point I started asking myself, why did Mozilla choose getting involved with geeksphone/zte/etc. for dedicated not_working/unavailable

Re: [b2g] GF Peak+ Cancellation

2013-11-28 Thread Hubert Figuière
On 28/11/13 05:23 PM, an wrote: why did Mozilla choose getting involved with geeksphone/zte/etc. for dedicated not_working/unavailable phones instead of bringing this OS to maturity on existing hardware; call that a generic OS which is easily ported to available phones that people actually

[b2g] Reading battery uptime

2013-11-28 Thread daniel . ina1
Hi folks, what would be an easy way to read the battery uptime of a device? Unlike Android, I didn't find this info in the settings. Background: I flashed a self-compiled build on my nexus-s running in flight mode on november 1st, and left the phone somewhere in the pocket. When I took it out

Re: [b2g] Reading battery uptime

2013-11-28 Thread Guillermo López
If you have the Android SDK, you just need to |adb shell uptime| and report back here ;) Cheers El 29/11/2013 00:30, daniel.i...@googlemail.com escribió: Hi folks, what would be an easy way to read the battery uptime of a device? Unlike Android, I didn't find this info in the settings.

Re: [b2g] GF Peak+ Cancellation

2013-11-28 Thread daniel . ina1
Actually I bought a used Nexus-S in almost newish condition for even less that I paid for the crappy ZTE Open which I flashed dead because of the broken bootloader 2 days later and which catches dust because ZTE is still unwilling to help me (see my other postings about that). The Nexus-S has

Re: [b2g] Firefox Build Issue : Sony-Xperia-Arch

2013-11-28 Thread daniel . ina1
Although I don't know a solution for this, I see the same problem. I really don't like the build system which dynamically fetches stuff when needed and when one mirror is down then the build completely breaks after i.e. 2 hours. This is completely against the fail early principle. The build

Re: [b2g] Reading battery uptime

2013-11-28 Thread daniel . ina1
Thanks...it says 25 days and 3 hours. But how do I get the info when I last unplugged the charger? Cheers, Daniel ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] GF Peak+ Cancellation

2013-11-28 Thread Gabriele Svelto
On 28/11/2013 23:23, an wrote: This is all very encouraging while I expect a zte open any day now but I'm sure I'm not the only masochist :) I know I'm repeating myself but still: for everybody buying a ZTE Open from eBay, first thing you do check the firmware version under Settings Device