On Nov 19, 4:57*pm, Arivald <arivald_@AT_interia_DOT_pl> wrote:[color=blue]
> Chen Zhiyuan pisze:
>[color=green]
> > the following code is to load a image from chrome package, and use the
> > data url to overcome the security control of new FF version.[/color]
>
> [...][color=green]
> > but I got 2 exceptions:[/color]
>[color=green]
> > 1. when url is "chrome://..../.png" it failed. and throw exception. if
> > the url is "http://...." it can get the resource.[/color]
>
> I think it is still security code working. It is good.
>
> In case if this code bypass security, FF staff will quickly mate patch
> to fix this kind of information leaks.
>
> --
> Arivald[/color]

I found the solution from
[url]http://mgran.blogspot.com/2006/08/downloading-binary-streams-with.html[/url]