On Wednesday, April 13, 2016 at 2:41:58 AM UTC+8, Bobby Holley wrote: > Binary components are no longer supported: > https://blog.mozilla.org/addons/2015/05/04/dropping-support-for-binary-components/ > > > Hi, > > > > I would like to know if binary components still work in Firefox 45 ESR. I > > have a Firefox extension that is an XPCOM extension that works in Firefox > > 38 ESR. I am trying to upgrade it to work with 45 ESR and have used the > > Firefox 45 ESR SDK (from > > ftp.mozilla.org/pub/firefox/releases/45.0esr/win32/en-us/sdk) to build > > the xpt and header file. Both files are successfully generated. > > > > After making changes to my code to fix the removed/modified APIs, I am > > able to compile it. However, after registering the component, even though > > it shows up in the Firefox add-ons, I get the error TypeError: > > Components.classes[cid] is undefined. I have tried isolating the problem > > and it occurs in my main.js file when var o is set to > > Components.classes[cid]. > > > > Thanks! > > _______________________________________________
Hi Bobby, Thanks for the response. Does this mean that all existing binary XPCOM extensions will not run in Firefox 45? Is there a way to allow the running of such components perhaps via some config settings? Thanks again. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform