Bug 127005 - Pack ResourceResponse harder.
Summary: Pack ResourceResponse harder.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 13:29 PST by Andreas Kling
Modified: 2014-01-14 22:47 PST (History)
1 user (show)

See Also:


Attachments
Patch (5.93 KB, patch)
2014-01-14 13:30 PST, Andreas Kling
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2014-01-14 13:29:03 PST
Pack ResourceResponse harder.
Comment 1 Andreas Kling 2014-01-14 13:30:03 PST
Created attachment 221196 [details]
Patch
Comment 2 Anders Carlsson 2014-01-14 13:31:24 PST
Comment on attachment 221196 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=221196&action=review

> Source/WebCore/platform/network/ResourceResponseBase.cpp:53
> +    , m_cacheControlMaxAge(0.0)
> +    , m_age(0.0)
> +    , m_date(0.0)
> +    , m_expires(0.0)
> +    , m_lastModified(0.0)

I'd change all these to say 0.

> Source/WebCore/platform/network/ResourceResponseBase.cpp:80
> +    , m_cacheControlMaxAge(0.0)
> +    , m_age(0.0)
> +    , m_date(0.0)
> +    , m_expires(0.0)
> +    , m_lastModified(0.0)

Ditto.
Comment 3 Andreas Kling 2014-01-14 22:47:37 PST
Committed r162052: <http://trac.webkit.org/changeset/162052>