I'm short on ideas. Perhaps if you make a more complete version of your code available then someone will see something. For instance, I don't see the QueryInterface implementation of your C++ object. If that method fails to handle the nsICancelable case then XPConnect will fail to build a wrapper around it when it is passed to the JS code - and the call would fail. There are other such possibilities :)

You could also just try adding a method with no params to the callback interface, implement it in JS, and try calling that. i.e. get *something* working and then figure out what is different about what doesn't work.

John.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to