+1 on the important items selection!
+1 on the need of resources!
I think we can gain from gaia team collaboration to mock APIs in the helper
addon shipped in Gaia.
https://github.com/mozilla-b2g/gaia/tree/master/tools/extensions/desktop-helper
Vivien recently landed something to mock TouchEvents and some other gaia
contributors already fixed some edges cases.
About the first item and devtools integration, I think that we can simplify
this step a lot by running tools in the simulation process so that we
wouldn't have to wait for remote tools to work. It could also simplify the
UX by having only one window!
Now that we have a Refresh command, you would get back to Firefox window to
see the apps dashboard only when you want to register a new app.
2013/5/14 Jeff Griffiths <
jgrif...@mozilla.com>
FYI, I've already started working on that and a big part of this work has
already been done by gaia team, especially Vivien and Kevin, who worked on
"desktop helper addon" and various patches against mozilla-central in order
to make Gaia work again on Firefox desktop! (Mostly replace some hardcoded
#ifdef by runtime preferences)
The good news is that most of the non-hardware related API are already
known to work on Firefox 23.
We can easily identify what works or not by running gaia on Firefox with:
$ cd gaia/
$ BROWSER=1 make
$ /path/to/firefox -profile profile
I encourage anyone to give it a try, *all* devtools already work in this
mode!
In parallel, I've already started trying to launch firefox instead of b2g
desktop and that lead me to enable gaia helper addon in simulator
https://github.com/mozilla/r2d2b2g/pull/510 and also simplify some aspects
of the simulator to ease this switch
https://github.com/mozilla/r2d2b2g/pull/488. I don't have a precise set of
bugs/modification to run on top of firefox as I'm trying to land small
changes step by step, but I dedicate a big part of my time on this.
Otherwise, there is something very important in reusing firefox runtime: we
are no longer going to run on gecko 18.
For me, that's a very good thing. Uplifting to v1-train introduce risk for
the product, but v1-train also lacks of devtools efforts. So that if we
want to really improve the simulator by tuning code from mozilla-central,
we would have to always request uplifting and I'm not sure that's the best
thing to do.
I rather prefer having efficient and feature-full developer tools than
something that act more like a v1 version.
Then, my hope is that devices will be updated and quickly reach the "X"
version that is going to ship our current and coming devtools improvements
in Gecko/Gaia.