Then what's correct behavior?
On 5/14/09, Jan Alonzo <[email protected]> wrote: > Hi james, > > can you please file a bug against the WebKitGtk component at > http://bugs.webkit.org. I don't think that's correct. > > Thanks, > Jan > > On 5/14/09, Zhe Su <[email protected]> wrote: >> Just found that the problem is gone when the base_uri parameter is set to >> "file://" instead of NULL. Is it a correct way? >> >> Regards >> James Su >> >> On Thu, May 14, 2009 at 10:40 AM, Zhe Su <[email protected]> wrote: >> >>> Attached is a simple test program. When running the program, following >>> error occurred: >>> >>> console message: @0: Not allowed to load local resource: >>> file:///usr/share/pixmaps/elisa.svg >>> >>> But if you save the html content into a file and load it with >>> GtkLauncher, >>> then it's ok. >>> >>> Regards >>> James Su >>> >>> >>> On Thu, May 14, 2009 at 12:26 AM, tonikitoo (Antonio Gomes) < >>> [email protected]> wrote: >>> >>>> It sounds like we can be misusing the base_url parameter. could you >>>> paste how you are calling the method (parameters and so) and a snippet >>>> of the local html file. >>>> >>>> On Wed, May 13, 2009 at 6:58 AM, Zhe Su <[email protected]> wrote: >>>> > Hi, >>>> > When I call webkit_web_view_load_html_string() to load a html >>>> > content >>>> into >>>> > a webkitview, webkit always refuses to load local files (image) >>>> > referred >>>> in >>>> > the html content. Is it possible to work around this behavior and let >>>> webkit >>>> > load local files? >>>> >>>> -- >>>> --Antonio Gomes >>>> >>> >>> >> > _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

