On Apr 3, 3:29 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I just checked the java console and I saw:
>
> > Security Error: Content at chrome://browser/content/browser.xul may
> > not load or link to abc://mycss.css
>
> That's really quite odd. You can see the implementation of CheckLoadURI
> (which
> is what reports that error)
> inhttp://lxr.mozilla.org/mozilla1.8/source/caps/src/nsScriptSecurityMan...--
> unknown schemes should be allowed.
>
> What's particularly odd, in fact, is that chrome://browser/content/browser.xul
> should have the system principal, and should thus be able to link to anything
> (though I guess for a CheckLoadURI() call this could be an issue).
>
> -Boris
It was a name collision that caused the problem; I was actually using
"res" in my test code and can see that it has "DenyProtocol", changing
the name to "abc" worked.
{ "res", DenyProtocol },
Thanks a lot for your assistance..
Jens
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network