Christian Biesinger wrote:
David Huynh wrote:

Is there another hack for passing/returning an array of nsISupports instead of bytes?


If this is JS->JS communication via XPCOM, you could use wrappedJSObject:
http://www.mozilla.org/scriptable/js-components-status.html#unwrapping

Thanks for the suggestion. I know of this trick before. Unfortunately, the caller is in Javascript from Web pages and does not have permission to go through this backdoor. The call must go through an XPCOM interface.

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

Reply via email to