[webkit-dev] The mysterious IconDatabase

Patrick Hanna phanna at email.unc.edu
Tue Sep 18 11:27:59 PDT 2007


It looks like you have to completely delete the address in the  
Address bar to get the icon to go away. If you don't delete the whole  
thing, the icon stays there. That looks like what you mentioned  
earlier about not flashing between the default icon and the custom  
icon while typing. Maybe I just need to add that sort of logic for  
hosts that match.

Thanks for the help,
Pat

On Sep 18, 2007, at 1:32 PM, John Sullivan wrote:

> 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