-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=36024 Reviewed by Sam Weinig. The implementation is based on XMLHttpRequest 2 spec: http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#formdata Test: http/tests/local/send-form-data.html * Android.derived.jscbindings.mk: * Android.derived.v8bindings.mk: * Android.jscbindings.mk: * DerivedSources.cpp: * DerivedSources.make: * GNUmakefile.am: * WebCore.pri: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMFormDataCustom.cpp: Added. * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::send): * bindings/scripts/CodeGeneratorJS.pm: * html/DOMFormData.idl: Added. * page/DOMWindow.idl: LayoutTests: Add DOMFormData.idl to expose FormData interface https://bugs.webkit.org/show_bug.cgi?id=36024 Reviewed by Sam Weinig. Add a layout test to test sending FormData via XMLHttpRequest. Also changed all test results that are affected by exposing FormData. * fast/dom/Window/window-properties-expected.txt: * fast/dom/Window/window-property-descriptors-expected.txt: * fast/dom/constructed-objects-prototypes-expected.txt: * fast/dom/prototype-inheritance-2-expected.txt: * fast/dom/prototype-inheritance-expected.txt: * fast/js/global-constructors-expected.txt: * http/tests/local/resources/send-form-data.js: Added. * http/tests/local/send-form-data-expected.txt: Added. * http/tests/local/send-form-data.html: Added. * http/tests/xmlhttprequest/resources/multipart-post-echo.php: Added. * platform/gtk/Skipped: * platform/gtk/fast/dom/Window/window-properties-expected.txt: * platform/qt/Skipped: * platform/qt/fast/dom/Window/window-properties-expected.txt: * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: * platform/qt/fast/dom/prototype-inheritance-expected.txt: * platform/qt/fast/js/global-constructors-expected.txt: * platform/win/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8b267dc3