Changeset 147267 in webkit


Ignore:
Timestamp:
Mar 29, 2013 7:08:40 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r147263.
http://trac.webkit.org/changeset/147263
https://bugs.webkit.org/show_bug.cgi?id=113632

Breaks test fast/loader/display-image-unset-allows-cached-
image-load.html (Requested by mlam on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-29

  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::freshnessLifetime):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147266 r147267  
     12013-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r147263.
     4        http://trac.webkit.org/changeset/147263
     5        https://bugs.webkit.org/show_bug.cgi?id=113632
     6
     7        Breaks test fast/loader/display-image-unset-allows-cached-
     8        image-load.html (Requested by mlam on #webkit).
     9
     10        * loader/cache/CachedResource.cpp:
     11        (WebCore::CachedResource::freshnessLifetime):
     12
    1132013-03-29  Roger Fong  <roger_fong@apple.com>
    214
  • trunk/Source/WebCore/loader/cache/CachedResource.cpp

    r147263 r147267  
    433433double CachedResource::freshnessLifetime() const
    434434{
    435     // Let file: resources expire immediately so that we don't serve a stale
    436     // resource when a file has changed underneath us. Modern filesystems
    437     // implement their own caches, so we should still get good performance if
    438     // the resource hasn't changed.
    439     if (m_response.url().protocolIs("file"))
    440         return 0;
    441 
    442     // Cache other non-http resources liberally.
     435    // Cache non-http resources liberally
    443436    if (!m_response.url().protocolIsInHTTPFamily())
    444437        return std::numeric_limits<double>::max();
Note: See TracChangeset for help on using the changeset viewer.