Re: [b2g] Debug builds for the Flame, and also ASan, Valgrind builds

2014-07-16 Thread Gary Kwong
+1 for ASan (and it's buddy LSan). What's the status of MSan? (the 3rd buddy) Is there any work on that for Desktop Firefox as well? Would it also be useful for Firefox OS? -Gary ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozil

[b2g] Debug builds for the Flame, and also ASan, Valgrind builds

2014-07-15 Thread Gary Kwong
Hi all, Currently our builds using Mozilla-TWQA's B2G Flash Tool [1] flash only opt builds. How useful do developers think it would be to have debug eng builds as well? [2] This will enable assertions and probably make it easier to debug gaia-ui-tests, as well as look out for seccomp violati

Re: [b2g] How to use Firefox Browser plugins in Firefox OS (b2g)

2014-03-11 Thread Gary Kwong
But I do see a lot of source and compiled .o files for npapi within firefox OS source code tree under 'gecko/dom/plugins/base/' and 'objdir-gecko/dom/plugins/base/'. What are these about? Yes, these are leftovers we should not even compile on b2g. I filed bug 982282 [1] to stop compiling the

Re: [b2g] Proposal: Cracking down on arbitrary Javascript exceptions

2014-01-15 Thread Gary Kwong
CSS errors are another story, especially when we use CSS properties that are prefixed/unprefixed and we try that the apps somehow load in other browsers. But we definitely have some that needs to be fixed. Bug 959945 is an example of a seemingly-innocuous "JavaScript Warning" CSS issue in Gaia

Re: [b2g] Proposal: Cracking down on arbitrary Javascript exceptions

2014-01-15 Thread Gary Kwong
One wrinkle I ran into while removing some CSS warnings in email for bug 96004, there are two “will-change” uses that show up as warnings. I believe this is an experimental property used in some builds/config settings of Gecko, and I think we want to keep those in. You probably mean bug 960094.

Re: [b2g] Proposal: Cracking down on arbitrary Javascript exceptions

2014-01-15 Thread Gary Kwong
An error is the minimal requirement for fuzzing, so far I have seen orangutan fuzzing Gecko with Gaia applications. By considering these errors as critical, this give the ability to fuzzers to fuzz Gaia applications (bad application state), which in the end improves the quality of applications.

Re: [b2g] Debugging with Valgrind on FxOS

2013-12-04 Thread Gary Kwong
Valgrind has been available on FxOS for a while now via magic incantation only known by few developers. To fix this, I've gone through MDN and updated the relevant entries, as well as adding documentation on how to build/run valgrind on the phone (Nexus 4 or similarly high spec phone only at th

Re: [b2g] PSA: Shutting down my mozilla git mirror in three weeks

2013-11-25 Thread Gary Kwong
All repositories used to build FFOS, including gaia, are present on git.mozilla.org. All of our official builds, and our partners pull from git.mozilla.org just in case there is any problem with github. (You can see this in the sources.xml in an official build.) At the moment, the devs prefer to

Re: [b2g] Automated Script for Launch Application in Firefox

2013-11-08 Thread Gary Kwong
Hi Sami, Orangutan can help you to launch Firefox at the requested coordinates by using the "TAP" syntax. To do so, you'll have to run a script that has this TAP command with the required coordinates on the phone after pushing the orangutan binary to it. An alternative may possibly be to use

[b2g] Move Gaia to the same repository as Gecko (was Re: Workflow for landing gecko patches that require changes to gaia tests)

2013-11-07 Thread Gary Kwong
The other alternative to make it painless to land gecko+gaia atomic changes is of course to move gaia to the same repo as gecko, and make the github repo a readonly mirror of gaia-hg. I'm sure I will be very popular with this proposal in gaia circles ;) This is interesting. More consolidation of

Re: [b2g] Firefox os building environment on mac os X 10.8

2013-10-05 Thread Gary Kwong
build/core/combo/HOST_darwin-x86.mk:42: *** build/core/combo/HOST_darwin-x86.mk:43: * No 10.6 or 10.5 SDK found, do you have Xcode installed? * build/core/combo/HOST_darwin-x86.mk:44: ***

Re: [b2g] Is it Possible to use Orangfuzz on the Simulator or B2G Desktop?

2013-07-31 Thread Gary Kwong
It may be possible to rework orangfuzz to use marionette action chain events (https://developer.mozilla.org/en-US/docs/Marionette/Marionette#Action_Chain_Methods), Yes, using Marionette might be a possible way forward - I'm been thinking of using it for awhile but haven't gotten around to rewri

Re: [b2g] Is it Possible to use Orangfuzz on the Simulator or B2G Desktop?

2013-07-31 Thread Gary Kwong
Is it Possible to use Orangfuzz on the Simulator or B2G Desktop? Since orangfuzz is based on the Orangutan framework [1], I've only tried it on a Unagi test device, and it should work on a Geeksphone Keon as well. I don't think it works as-is on the Simulator / B2G desktop, but wlach (cc'ed)

[b2g] Orangfuzz – an experimental user interaction fuzzer for Firefox OS

2013-04-17 Thread Gary Kwong
(followups to: mozilla.dev.b2g please) I recently released an experimental user interaction (touch) fuzzer for Firefox OS, known as orangfuzz[1]. It is based on the Orangutan framework[2] by wlach. More details can be found in a Mozilla Security blogpost[3]. Currently it only works with a Un

[b2g] Battery life tests

2013-01-31 Thread Gary Kwong
I was wondering if we have (or already have) plans for testing battery life on some standard phone hardware now that we are about to have the first release of Firefox OS finalised. Battery life is a large concern for mobile/smartphone users and it will be interesting to have some areweusingtoo