XPCOM Components in TB64

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

XPCOM Components in TB64

Mozilla - Thunderbird mailing list
Hi,
i have two add-ons (CopySent2Current, AddressbooksSynchronizer) which uses XPCOM Components written in JS. That worked well until TB60, but in TB64 the Components are loaded, but not correctly registered. That is, using
Components.classes["@ggbs.de/interface;1"]             .getService(Components.interfaces.nsIMyInterface)
throws an error, because nsIMyInterface is not in Components.interfaces.

I know, that i had to replace XPCOMUtils.generateQI() with ChromeUtils.generateQI() in the component, but it still does not work. What am i missing? Probably something in the new manifest.json?

G√ľnter
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird