<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>21026</bug_id>
          
          <creation_ts>2008-09-23 09:20:33 -0700</creation_ts>
          <short_desc>No favicon during first load</short_desc>
          <delta_ts>2009-01-29 08:02:00 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick">phanna</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
    
    <cc>darin</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92336</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick">phanna</who>
    <bug_when>2008-09-23 09:20:33 -0700</bug_when>
    <thetext>Safari -&gt; Reset Safari...

Go to a site known to have a favicon (google.com, yahoo.com, ebay.com, etc). Notice there is no favicon until you refresh the site. I turned on logging and I think the issue is that the favicon data has not been committed to the database in dispatchDidReceiveIcon and dispatchDidAddIconForPageURL so that the Image stored in the IconRecord has m_data set to NULL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92388</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-09-23 14:14:06 -0700</bug_when>
    <thetext>&lt;rdar://problem/6240826&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94353</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick">phanna</who>
    <bug_when>2008-10-07 06:44:19 -0700</bug_when>
    <thetext>I have a local change that switches the order of readFromDatabase() and writeToDatabase() inside IconDatabase::syncThreadMainLoop() that appears to fix the issue. I haven&apos;t seen any adverse affects but I&apos;m not sure what to look for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102139</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-12-10 13:31:18 -0800</bug_when>
    <thetext>See also Bug 12892.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102143</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-12-10 13:55:45 -0800</bug_when>
    <thetext>I believe Attachment #25925 from Bug 22795 contains a (webarchive) test case that reproduces this issue reliably on Mac OS X, which should make it easier to fix.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103415</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-25 10:17:23 -0800</bug_when>
    <thetext>Could this be related to the &quot;write before read&quot; change in bug 22963?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103745</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-12-29 16:18:44 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Could this be related to the &quot;write before read&quot; change in bug 22963?

I don&apos;t believe that patch fixes the issue.  See Bug 22963 Comment #3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105791</commentid>
    <comment_count>7</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-01-14 14:18:07 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; I believe Attachment #25925 [review] from Bug 22795 contains a (webarchive) test case
&gt; that reproduces this issue reliably on Mac OS X, which should make it easier to
&gt; fix.

The fix for Bug 22795 landed, but the layout test fails in different ways on different buildbots (see Bug 23331), so it&apos;s currently disabled.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107449</commentid>
    <comment_count>8</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-01-28 19:49:54 -0800</bug_when>
    <thetext>I think this may have been fixed with &lt;http://trac.webkit.org/changeset/40335&gt;.

Patrick, could you verify this with a nightly build?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107513</commentid>
    <comment_count>9</comment_count>
    <who name="Patrick">phanna</who>
    <bug_when>2009-01-29 05:28:39 -0800</bug_when>
    <thetext>I think change 40335 and the fix for bug 22963 have resolved this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107525</commentid>
    <comment_count>10</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-01-29 08:02:00 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; I think change 40335 and the fix for bug 22963 have resolved this issue.

Resolving as fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>