On Apr 3, 2:39 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Im using firefox version 2.0. and Gecko SDK 1.8.0.4
>
> Ok.  So that means it shouldn't be a CheckLoadURI issue, since unknown 
> protocols
> are treated as always-allow...
>
> > In NewURI I basically just create an instance of
> > ""@mozilla.org/network/simple-uri;1", SetSpec(aSpec) return the new
> > URI.
>
> OK.  So it has your scheme.  Good.  ;)
>
> > <?xml-stylesheet href="abc:mycss.css" style="text/css"?>
>
> > NewURI will only be called but not NewChannel. However I change href
> > to href="mycss.css" then it works in the sense that the CSS will be
> > loaded correctly and keep in mind that in my "mycss.css" file I'll
> > refer to background images using url(abc:someimage) and they will be
> > displayed correctly
>
> That's _really_ weird.  :(
>
> > In regards to protocol flags:
>
> On the 1.8 branch they shouldn't affect this...
>
> Are there any obvious errors in the Error Console?
>
> -Boris

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

I get a similar error when doing the drag and drop.

-Jens

_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to