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@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev