<?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>21608</bug_id>
          
          <creation_ts>2008-10-14 23:31:42 -0700</creation_ts>
          <short_desc>REGRESSION: Assertion failure in MainResourceLoader::didFinishLoading() at ynet.co.il</short_desc>
          <delta_ts>2013-01-31 16:23:18 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://ynet.co.il/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joepeck</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95383</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-10-14 23:31:42 -0700</bug_when>
    <thetext>Loading the URL causes an assertion failure:

ASSERTION FAILED: shouldLoadAsEmptyDocument(frameLoader()-&gt;activeDocumentLoader()-&gt;url()) || !defersLoading()
(WebCore/loader/MainResourceLoader.cpp:310 virtual void WebCore::MainResourceLoader::didFinishLoading())

Backtrace:
#0  0x035e3d71 in WebCore::MainResourceLoader::didFinishLoading (this=0x1d83bc00) at WebCore/loader/MainResourceLoader.cpp:310
#1  0x036faa22 in WebCore::ResourceLoader::didFinishLoading (this=0x1d83bc00) at WebCore/loader/ResourceLoader.cpp:398
#2  0x036f8566 in -[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:] (self=0x1abcd900, _cmd=0x90158564, con=0x1e124780) at WebCore/platform/network/mac/ResourceHandleMac.mm:530
#3  0x961d6097 in -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFinishLoading] ()

(gdb) p frameLoader()-&gt;activeDocumentLoader()-&gt;url().string().ascii()
$1 = {
  m_size = 76, 
  m_buffer = {
    &lt;WTF::VectorBufferBase&lt;char&gt;&gt; = {
      &lt;WTFNoncopyable::Noncopyable&gt; = {&lt;No data fields&gt;}, 
      members of WTF::VectorBufferBase&lt;char&gt;: 
      m_buffer = 0x1c897660 &quot;http://go.calcalist.co.il/long/content/2008/teaser_ynet/ordering/index4.asp&quot;, 
      m_capacity = 76
    }, &lt;No data fields&gt;}
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95834</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-10-17 22:43:06 -0700</bug_when>
    <thetext>I am hitting this very frequently on many websites.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95835</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-10-17 22:44:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/6301728&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>822090</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2013-01-31 16:23:18 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; &lt;rdar://problem/6301728&gt;

Note, that this radar and the underlying CFNetwork radar have been closed, but the ASSERT still reproduces if you remove the #if !USE(CF) guards. =(</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>