Changeset 19525 in webkit


Ignore:
Timestamp:
Feb 9, 2007 2:44:41 AM (17 years ago)
Author:
mjs
Message:

Reviewed by Mitz.

<rdar://problem/4971224> REGRESSION: ASSERT in WebCore with Mail (12491)
http://bugs.webkit.org/show_bug.cgi?id=12491

No test case. Not testable since there is no way to do substitute
data loads from layout tests.


  • loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::continueAfterContentPolicy): Don't dispatch data load callback when loading empty data.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r19524 r19525  
     12007-02-09  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Reviewed by Mitz.
     4
     5        <rdar://problem/4971224> REGRESSION: ASSERT in WebCore with Mail (12491)
     6        http://bugs.webkit.org/show_bug.cgi?id=12491
     7
     8        No test case. Not testable since there is no way to do substitute
     9        data loads from layout tests.
     10       
     11        * loader/MainResourceLoader.cpp:
     12        (WebCore::MainResourceLoader::continueAfterContentPolicy): Don't dispatch data load
     13        callback when loading empty data.
     14
    1152007-02-09  Mark Rowe  <mrowe@apple.com>
    216
  • trunk/WebCore/loader/MainResourceLoader.cpp

    r19281 r19525  
    231231    if (frameLoader() && !frameLoader()->isStopping())
    232232        if (m_substituteData.isValid()) {
    233             didReceiveData(m_substituteData.content()->data(), m_substituteData.content()->size(), m_substituteData.content()->size(), true);
     233            if (m_substituteData.content()->size())
     234                didReceiveData(m_substituteData.content()->data(), m_substituteData.content()->size(), m_substituteData.content()->size(), true);
    234235            if (frameLoader() && !frameLoader()->isStopping())
    235236                didFinishLoading();
Note: See TracChangeset for help on using the changeset viewer.