Harry Zhang wrote:
Hi all, anyone know whether it's possible to introduce an object into javascript runtime?
Yes, if it implements a scriptable interface. The properties/methods exposed by that interface will be exposed.
I don't know what the "right" way to do that via the various embedding APIs floating around is, though. Hopefully someone else does.
-Boris _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding