[webkit-dev] The mysterious IconDatabase

John Sullivan sullivan at apple.com
Tue Sep 18 10:32:54 PDT 2007


On Sep 18, 2007, at 10:25 AM, Patrick Hanna wrote:

> I have discovered that I have an IconDatabase that is older than the  
> new multi-thread database if that is any help.
>
> If Safari has no extra knowledge, how does it decide to display the  
> google icon for www.google.com/search before visiting the site but  
> after visiting www.google.com? The same applies for visiting  
> news.google.com, images.google.com, maps.google.com, etc. I tried  
> setting a breakpoint on iconForPageURL but it just returned NULL.
>
> Pat

I can't reproduce this. This is what I see:

1. use Reset Safari to clear the icon database
2. type http://www.google.com into URL field and hit Return -- custom  
icon appears after page loads
3. type http://www.google.com/search into URL field -- no custom icon
4. hit Return -- custom icon appears during/after page load
5. type http://news.google.com into URL field -- no custom icon
6. hit Return -- custom icon appears during/after page load

John



More information about the webkit-dev mailing list