On 5/22/14 2:36 PM, Alexandre poirot wrote:
But, for (new) tools, I would suggest using devtools protocol directly.
If your data appear to be useful for gaia/app developers, it would be
easy to then display it in the App manager within a new tool.
You just need a client. There is a stable and full featured client for
nodejs, https://github.com/harthur/firefox-client
The downside compared to marionette is that this isn't a REPL API, so
that it isn't an API to evaluate arbitrary piece of code on device.
The idea is to write/tweak an actor in gecko, all hosted here:
http://mxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/actors/
And then call your actors methods from the client. I can easily agree
that's not as handy for prototyping...

The actors act up when you try to use them creatively, see https://bugzilla.mozilla.org/show_bug.cgi?id=987649

Axel
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to