Bug 127005

Summary: Pack ResourceResponse harder.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: kling
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

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>