June 28, 2006

My current progress on the project is disappointing, I am blocked on the value returned by an method call.
I can make a basic D-BUS method call from Javascript, but I’am unable to get his return value.
Here is the sample of code :

The ‘ret’ value can be of any kind of type (string, int, array, object, etc…).
I’ve found the javascript code for managing any type of return value from an XPCOM method, in the mozilla xml-rpc extension :