-
jianli@chromium.org authored
append a blob https://bugs.webkit.org/show_bug.cgi?id=69885 Reviewed by David Levin. Source/WebCore: Covered by existing test with new test case added: http/tests/local/formdata/send-form-data-with-sliced-file.html * bindings/js/JSDOMFormDataCustom.cpp: (WebCore::JSDOMFormData::append): * bindings/v8/custom/V8DOMFormDataCustom.cpp: (WebCore::V8DOMFormData::appendCallback): * html/DOMFormData.cpp: (WebCore::DOMFormData::append): * html/DOMFormData.h: * html/DOMFormData.idl: * html/FormDataList.cpp: (WebCore::FormDataList::appendBlob): * html/FormDataList.h: (WebCore::FormDataList::Item::Item): (WebCore::FormDataList::Item::filename): (WebCore::FormDataList::appendBlob): * platform/network/FormData.cpp: (WebCore::FormData::appendKeyValuePairItems): LayoutTests: * http/tests/local/formdata/resources/send-form-data-common.js: (dumpResponse): (sendFormData): (testSendingFormData): * http/tests/local/formdata/script-tests/send-form-data-with-sliced-file.js: (runTest): * http/tests/local/formdata/send-form-data-with-sliced-file-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f980b1e0