Bug 132494

Summary: Implement FormData decoding using KeyedDecoder
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch thorton: review+

Description Anders Carlsson 2014-05-02 15:07:45 PDT
Implement FormData decoding using KeyedDecoder
Comment 1 Anders Carlsson 2014-05-02 15:09:44 PDT
Created attachment 230706 [details]
Patch
Comment 2 Tim Horton 2014-05-02 15:22:48 PDT
Comment on attachment 230706 [details]
Patch

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

> Source/WebCore/platform/network/FormData.cpp:679
> +    if (!decoder.decodeObjects("elements", data->m_elements, [](KeyedDecoder& decoder, FormDataElement& element) {
> +        return decodeElement(decoder, element);
> +    }))
> +        return nullptr;

I will note that this looks pretty bizarre.
Comment 3 Anders Carlsson 2014-05-02 15:39:12 PDT
Committed r168199: <http://trac.webkit.org/changeset/168199>