On 15 Apr., 19:18, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > The featurestring i am currently using is just like
> > "width=800,height=600,left=0,top=0",
>
> Try adding "chrome" to that string?
>
> If that doesn't work, you'll likely have to do some debugging to see exactly 
> why
> the python thing is not happening...
>
>  > is the aFeatures parameter of openwindow somewhere documented in
>  > greater detail?
>
> Seehttps://bugzilla.mozilla.org/show_bug.cgi?id=160443
>
> -Boris

adding crome to aFeatures did not help. but when i run the xul example
i now notice
error messages, i might have overlooked before:
WARNING: No script language registered for this mime-type: file g:/dev/
mozilla/mozilla/dom/src/base/nsDOMScriptObjectFactory.cpp, line 151
WARNING: Failed to load the node's script language!: file g:/dev/
mozilla/mozilla/content/xul/document/src/nsXULContentSink.cpp, line
828

so it seams, that for some reason python is not registered as a script
engine. so i deleted the compreg.dat. now i am getting:
WARNING: Non JS language called from non chrome - ignored: file g:/dev/
mozilla/mozilla/content/xul/document/src/nsXULContentSink.cpp, line
1132

That's an improvement, i would say.

does that mean, that only chrome:// urls can use python as the
scripting language?
the url i was using was file:///c:/dev/bbmozlib/tests/pytest.xul.
can i make it work to run with file:// url's without patching the
mozilla source?

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

Reply via email to