Re: Embedding Xulrunner 2.0: CreateChromeWindow2 (e.g. if Xulrunner Requests a Window for a simple Alert Box): chrome://global/content/commonDialog.xul rendered without content

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

Re: Embedding Xulrunner 2.0: CreateChromeWindow2 (e.g. if Xulrunner Requests a Window for a simple Alert Box): chrome://global/content/commonDialog.xul rendered without content

arcoun
Hello Dominik,

I'm replying to this old thread because I have the same problem.

Have you found a solution since then?

Best regards.
-- arcoun

On Wednesday, April 20, 2011 4:51:29 PM UTC+2, dhoelzl wrote:

> If Embedding Xulrunner 2.0 it requests for a new window with a browser inside
> if e.g. a web page opens a simple alert box.
> It calls nsIWindowCreator2::CreateChromeWindow2 and renders the dialog box
> content into the returned nsIWebBrowserChrome.
>
> That works all fine, but inside the returned nsIWebBrowserChrome only the
> URL of the dialog content (chrome://global/content/commonDialog.xul) is
> displayed, but without content (like i just enter the chrome url in the
> firefox 4.0 browser). It seems that the parameters for the XUL get lost
> somewhere.
>
> If using Xulrunner 1.9.2 all works fine.
> (Xulrunner 1.9.2 uses nsIPromptService2 to display alert boxes, but other
> XUL-dialogs like the certificate error dialog works well)
>
> Does anybody know what changed inside the Xulrunner framwork?
> Debugging Xulrunner where it looses the parameters seems to be very
> elaborate.
>
> Greetings,
> Dominik

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