-
kocienda authored
WebFoundation: Changes to support submission of forms using HTTP POST. These changes focus on adding the form data to a post request. * CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler addRequestMessageBody:]): * ChangeLog: * WebFoundation.pbproj/project.pbxproj: WebCore: Changes to support submission of forms using HTTP POST. These changes move us over to using the new WebKit interface for creating WebDataSource instances, one that passes a handle rather than just a URL, enabling the specific request method to be communicated to WebFoundation. This fixes: Radar 2903602 (IFWebDataSource API must passes attributes and flags to IFURLHandle) Fixed handling of password fields: Radar 2903605 (WebCore form processing drops out password input data) Added some hacks to get form <input type=image ...> working correctly: Radar 2907198 (Forms not getting submitted correctly when <input type=image>) * khtml/rendering/render_form.cpp: (RenderImageButton::RenderImageButton), (RenderImageButton::~RenderImageButton), (RenderImageButton::printObject): * khtml/rendering/render_form.h: * kwq/KWQKHTMLPart.mm: (KHTMLPart::requestFrame), (KHTMLPart::submitForm), (KHTMLPart::khtmlMouseReleaseEvent): * kwq/KWQNSTextField.mm: (-[KWQNSTextField setPasswordMode:]), (-[KWQNSTextField textDidChange:]), (-[KWQNSTextField stringValue]): * kwq/Makefile.am: * kwq/KWQInvisibleButton.h: Added * kwq/KWQInvisibleButton.mm: Added WebKit: Changes to support submission of forms using HTTP POST. These changes move us over to using the new WebKit interface for creating WebDataSource instances, one that passes a handle rather than just a URL, enabling the specific request method to be communicated to WebFoundation. This fixes: Radar 2903602 (IFWebDataSource API must passes attributes and flags to IFURLHandle) * WebKit.pbproj/project.pbxproj: * WebView.subproj/IFWebDataSource.h: * WebView.subproj/IFWebDataSource.mm: (IFWebDataSourceMake), (-[IFWebDataSource initWithURL:]), (-[IFWebDataSource initWithHandle:]): * WebView.subproj/IFWebDataSourcePrivate.h: * WebView.subproj/IFWebDataSourcePrivate.mm: (-[IFWebDataSource _startLoading:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
09b8b604