Hello,

we are using the Embedded API for rendering. Since Firefox 10 we get a
crash while creating (constructor) the MozApp-object. More precisely
the crash is by calling the API 'XRE_InitEmbedding2()' (its function-
pointer is valid!) in 'InitEmbedding()' of the MozApp constructor in
the xul.dll (Fileversion: 10.0.0.4411 BuildID: 20120129021758). Up to
version 9 of Firefox we do not have this crash - only since version
10. You can find details in the following bug report here:
https://bugzilla.mozilla.org/show_bug.cgi?id=724822

Now, we have adapted the Embedded API and it works for us with xul-
runner 10.0.2... but there are some points left - therefore we
actually use simple/stupid workarounds to make it work for us - but
this is not a good solution (especially for all).

1. The Embedded API uses the API 'GRE_GetGREPathWithProperties'. But
it is missing in the xul-runner 10.0.2 sources. Actually we would like
to search the windows registry for the Firefox installation-path to
call 'XPCOMGlueStartup'. But this is not a good solution for everyone.
What could be the better solution here?

2. I get a build-error, that 'ToProvidedString' in 'nsNetUtil.h' of
the xul-runner 10.0.2 sources is missing, when building the Embedded
API. How could be the solution look here?

3. Additional some API definitions have changed their data-types from
'PRBool' zu 'bool' - this is pretty simple to fix.

But my questions are:
Would someone adapt the Embedded API in the offical way so it can be
used with the actual sources of xul-runner without special adaptions?
And if not: Who is the responsible developer for this part in the
mozilla project to talk to for adapting the Embedded API together?

Many thanks for your help!
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to