[webkit-dev] retreiving favicon on gtk port

Brady Eidson beidson at apple.com
Tue Nov 25 10:57:33 PST 2008


Hi Zaheer,

I went ahead and filed https://bugs.webkit.org/show_bug.cgi?id=22489  
which represents the radar you referenced.

What we saw happening is that you'd get didFinishLoading followed by  
didFail it's because the SubresourceLoader is getting the main  
resource of a server-provided 404 page, and *then* getting the error  
callback because it was a 404.

In your test case where you're trying to download the icon, is this  
what's happening?

 Brady

On Nov 25, 2008, at 9:19 AM, zaheer ahmad wrote:

> hi all,
> Iam trying to retrieve the favicon when loading a website. i find  
> that IconLoader::didfinishLoading gets called with valid data  
> followed by a IconLoader::didFail which clears the icon from the  
> database. The comment in didFinishLoading suggests that this is a  
> valid scenario. it points to rdar://problem/5463392 (this is an  
> apple internal bug id, is there a way to access this?). appreciate  
> any inputs on why two indications are coming for the same resource  
> and how to overcome this problem.
>
> thanks,
> Zaheer
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



More information about the webkit-dev mailing list