[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 _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
