Changeset 37753 in webkit


Ignore:
Timestamp:
Oct 20, 2008 6:22:51 PM (16 years ago)
Author:
Antti Koivisto
Message:

2008-10-20 Antti Koivisto <Antti Koivisto>

Reviewed by Adele Peterson.

Fix https://bugs.webkit.org/show_bug.cgi?id=21763
REGRESSION (r36108-r36113): Can't load picture content on wired.com galleries
<rdar://problem/6285025


If we get 304 response we need to explicitly check if that completes the frame load.


No test case, simulating the condition is pretty difficult.

  • loader/loader.cpp: (WebCore::Loader::Host::didReceiveResponse):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r37752 r37753  
     12008-10-20  Antti Koivisto  <antti@apple.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        Fix https://bugs.webkit.org/show_bug.cgi?id=21763
     6        REGRESSION (r36108-r36113): Can't load picture content on wired.com galleries
     7        <rdar://problem/6285025
     8       
     9        If we get 304 response we need to explicitly check if that completes the frame load.
     10       
     11        No test case, simulating the condition is pretty difficult.
     12
     13        * loader/loader.cpp:
     14        (WebCore::Loader::Host::didReceiveResponse):
     15
    1162008-10-20  Anders Carlsson  <andersca@apple.com>
    217
  • trunk/WebCore/loader/loader.cpp

    r37317 r37753  
    384384            // Existing resource is ok, just use it updating the expiration time.
    385385            cache()->revalidationSucceeded(resource, response);
     386           
     387            if (request->docLoader()->frame())
     388                request->docLoader()->frame()->loader()->checkCompleted();
     389
    386390            delete request;
    387391
Note: See TracChangeset for help on using the changeset viewer.