Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Loading http:// from file://

44 views
Skip to first unread message

jfr

unread,
Dec 16, 2010, 4:30:11 AM12/16/10
to mozilla-de...@lists.mozilla.org
Hi all,

I'm developping an application based on xulrunner 1.9.2. I need to
load a page, say http://xxx, from file://yyy.

xulrruner raises an error as "Security Error : content at http://xxx
may not load data from file:///yyy.

I tried to push a capability policy as a workaround but without
success.

Does anybody know how to load an http:// url from a file:// url. ?

jean-françois

Nelson Bolyard

unread,
Dec 19, 2010, 5:49:06 PM12/19/10
to mozilla-de...@lists.mozilla.org
On 2010-12-16 01:30 PDT, jfr wrote:
> Hi all,
>
> I'm developping an application based on xulrunner 1.9.2. I need to
> load a page, say http://xxx, from file://yyy.
>
> xulrruner raises an error as "Security Error : content at http://xxx
> may not load data from file:///yyy.

Which is backwards of what's really trying to be done, yes? Or is it?
I'd say either
a) a bug is causing references from file:// to http:// to be treated as if
they were references from http:// to file://, OR
b) the file->http reference is actually working OK, but then the http
content tries to reference file:// content, which fails.

--
/Nelson Bolyard

0 new messages