<?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>15019</bug_id>
          
          <creation_ts>2007-08-20 06:16:51 -0700</creation_ts>
          <short_desc>REGRESSION (r25124-r25140): New posts and hot topics won&apos;t show</short_desc>
          <delta_ts>2007-08-22 17:28:12 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.mobile01.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, NeedsReduction, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiawei Ye">leafy7382</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1914</commentid>
    <comment_count>0</comment_count>
    <who name="Jiawei Ye">leafy7382</who>
    <bug_when>2007-08-20 06:16:51 -0700</bug_when>
    <thetext>Sometimes when accessing the site in URL, the middle box will show blank instead of lists of hot topics and new posts. Safari 3.0.3 Beta does not display such problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1905</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-20 07:30:02 -0700</bug_when>
    <thetext>Confirmed with a local debug build of WebKit r25149 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-20 07:39:58 -0700</bug_when>
    <thetext>Per autospade, this regressed between r25124 (works) and r25140 (fails).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1908</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-20 07:44:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/5422410&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1710</commentid>
    <comment_count>4</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2007-08-22 11:19:00 -0700</bug_when>
    <thetext>if i already have this page in my cache, the first visit to the page in a new window or tab will not exhibit the bug, but if i refresh, the bug will appear.  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1707</commentid>
    <comment_count>5</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2007-08-22 11:22:00 -0700</bug_when>
    <thetext>... and also, if you are missing the content, then if you put your cursor in the address bar and press enter, then the missing content re-appears.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1692</commentid>
    <comment_count>6</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2007-08-22 13:31:46 -0700</bug_when>
    <thetext>caused by r25128 which contains both loader and rendering changes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1683</commentid>
    <comment_count>7</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-08-22 15:01:58 -0700</bug_when>
    <thetext>The problem seems to stem from the load event handler being dispatched during layout (and possibly too soon). The backtrace looks like &lt;http://paste.lisp.org/display/46503&gt;. The results can be much worse than this bug if the event handler changes the DOM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1681</commentid>
    <comment_count>8</comment_count>
    <who name="Alice Liu">alice.barraclough</who>
    <bug_when>2007-08-22 15:58:00 -0700</bug_when>
    <thetext>I have a couple of comments:

- one time while loading mobile01.com, i crashed with this backtrace.  Even though i haven&apos;t been able to reproduce this crash, i thought i&apos;d mention it since Mitz said that consequences of the handler being called during layout can be much worse. 

Thread 0 Crashed:
0   com.apple.WebCore             	0x016bbc24 +[DOMNode(WebCoreInternal) _wrapNode:] + 120 (DOM.mm:315)
1   com.apple.WebCore             	0x0193e97a +[DOMElement(WebCoreInternal) _wrapElement:] + 64 (DOMElement.mm:337)
2   com.apple.WebKit              	0x00359f92 WebFrameLoaderClient::createPlugin(WebCore::Element*, WebCore::KURL const&amp;, WTF::Vector&lt;WebCore::String, 0ul&gt; const&amp;, WTF::Vector&lt;WebCore::String, 0ul&gt; const&amp;, WebCore::String const&amp;, bool) + 308
3   com.apple.WebCore             	0x01a0c3ff WebCore::FrameLoader::loadPlugin(WebCore::RenderPart*, WebCore::KURL const&amp;, WebCore::String const&amp;, WTF::Vector&lt;WebCore::String, 0ul&gt; const&amp;, WTF::Vector&lt;WebCore::String, 0ul&gt; const&amp;, bool) + 429 (FrameLoader.cpp:1534)
4   com.apple.WebCore             	0x01a18352 WebCore::FrameLoader::requestObject(WebCore::RenderPart*, WebCore::String const&amp;, WebCore::AtomicString const&amp;, WebCore::String const&amp;, WTF::Vector&lt;WebCore::String, 0ul&gt; const&amp;, WTF::Vector&lt;WebCore::String, 0ul&gt; const&amp;) + 426 (FrameLoader.cpp:1495)
5   com.apple.WebCore             	0x01880345 WebCore::RenderPartObject::updateWidget(bool) + 4065 (RenderPartObject.cpp:261)
6   com.apple.WebCore             	0x01880469 WebCore::RenderPartObject::layout() + 175 (RenderPartObject.cpp:278)

- If you comment out the early return that occurs about 5 lines up from the end of RenderPartObject::updateWidget(), then the mobile01.com bug goes away without re-introducing the bug that anders fixed with r25128.  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1678</commentid>
    <comment_count>9</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-08-22 16:29:57 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; I have a couple of comments:
&gt; 
&gt; - one time while loading mobile01.com, i crashed with this backtrace.

That crash seems to happen even before event dispatch so it might be a different problem.

&gt; - If you comment out the early return that occurs about 5 lines up from the end
&gt; of RenderPartObject::updateWidget(), then the mobile01.com bug goes away
&gt; without re-introducing the bug that anders fixed with r25128.  

That&apos;s weird. Maybe the original bug involved &lt;object&gt; (the early return is in the &lt;embed&gt; branch; there&apos;s another one in the &lt;object&gt; branch). I&apos;d expect the layout test from r25128 to fail without the early return.

I am pretty sure now that the checkCallImplicitClose() in FrameLoader::loadPlugin() needs to be removed. It can lead to the load event being dispatched before all images have finished loading.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1672</commentid>
    <comment_count>10</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2007-08-22 17:28:12 -0700</bug_when>
    <thetext>Committed revision 25194.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>