On 16 Apr., 07:02, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > does that mean, that only chrome:// urls can use python as the > > scripting language? > > Only urls that load pages that have the system principal can use python, since > python doesn't have any security model that would prevent other pages from > doing > whatever they want. System-principal pages can already do whatever they want. > > chrome:// URIs to content packages get the system principal, but there are a > few > other ways to do it (e.g. by writing some C++ code that generates a document > and > gives it the system principal). > > > 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? > > No. Which is a good thing, given the security implications... > > Note that you _can_ register a chrome package that would point a chrome:// URI > to that file, as I understand. > > -Boris
Thanks for you point-outs. I considder the issue solved. have a nice day _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding