Alexander Mitin wrote:
> So, using non-frozen interfaces
> may cause a crash and I need to provide a binary for every version of
> mozilla. Is there any way to get the data I needed using frozen API
> only? Or is there any quite different way interacting with JS from
> embedding app?


Getting a JSContext requires unfrozen APIs. That said - since the 
interfaces get a new IID when they get changed, you can just QI to the 
various IIDs that this interface has in the various Mozilla versions and 
use the one where it doesn't return failure/null.

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

Reply via email to