On 2/21/07, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
Michael Hutchinson wrote:
> I'm doing this currently and it's a real pain as an embedder to have
> to install a FF extension. Is there a way to override the security
> through the embedding interfaces in XPCOM/C++?
How are we getting into this situation? Is this JS component a part of an
embedding app basically?
Essentially, yes. I'm embedding a XUL app as an editing component,
which needs full XPCOM privileges for some reason (the guy who wrote
it told me there's no way around this).
If so, I wonder whether we could set up a chrome://-like protocol for embedding
apps. Perhaps even use chrome:// for the URIs (and either use the chrome
registry or a simple res://-like handler that gives things the system
principal)....
That would be ideal, yes.
A way to set privileges for file://... URIs from code would work just
as well though :)
--
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding