[Project_owners] chrome windows

Adam Judson adamsplugins at gmail.com
Tue Dec 13 07:43:13 EST 2005


What I actually want to do is put a google map inside my chrome window,
without the side effect of giving google access to the local machine.

Though after re-reading the terms of service for gmapsI may not be
able to do this anyway.

A


On 13/12/05, Neil <neil at parkwaycc.co.uk> wrote:
> Adam Judson wrote:
>
> >Can I open a .xul file from within my extension, but force it to run WITHOUT chrome privileges?
> >
> >
> If it has a chrome://<package>/content/<path>/<file>.xul URL, then no,
> they are hardcoded to have the system privilege in
> nsChromeProtocolHandler.cpp, but if you have a block of script that you
> want to execute without privileges then I believe you can use the new
> evalInSandbox method.
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>


More information about the Project_owners mailing list