HttpUnit 1.7 released
Russell Gold <[email protected]> Tue, 20 May 2008 17:31:49 -0400
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Version 1.7 Released 2008-05-20 Acknowledgements: This project would almost certainly have remained dormant without the extraordinary contributions of our new committer, Wolfgang Fahl. Wolfgang has been extremely active over the past few months, erasing the backlog in bug, patches, and enhancement requests, and generally improving the quality and energy of the project. In addition, thanks are due to: Stefan Hübner for supplying a patch for URL-decoding of parameters in ServletUnit Archimedes Trajano for supplying code to support non-JSSE SSL providers Bobby Abraham for adding the capability of deleting a cookie manually Rafal Krzewski for adding special handling for form actions containing a parameter named "action." Michael Rudolf for adding support for connection and read timeouts. Richard Lee for supporting xy parameter submission for unnamed image buttons. Laurent Wozniak for address the handling of expired cookies Matthew O. Smith for adding more sophisticated logging to ServletUnit Mattias Jiderhamn for adding Javascript support for arbitrary attributes Björn Beskow for adding Javascript support for 'onMouseUp' and 'onMouseDown' events Jord Sonneveld for adding support for onBlur and onFocus events Hugh Winkler for fixing getPathInfo decoding David D. Kilzer for supporting direct invocation ot javascript events Fabrizio Giustina for enabling html parsing of xml responses Roger Lindsj for adding handling of empty error pages under JDK 1.5 Notes: Upgraded NekoHTML to 0.9.5 Upgraded Xerces to 2.6.1 Upgraded Rhino to 1.6R5 The PostMethodWebRequest.setMimeEncoded method has been removed. Mime encoding, if desired, should now be specified when constructing the object. WebLink.click() now only returns the contents of the frame containing the link. Previously, if there was no event involved and the link included a frame reference, it would return the contents of the referenced frame. HttpUnit configuration management has been moved from CVS to subversion at http://httpunit.svn.sourceforge.net/svnroot/httpunit/trunk/httpunit The build now uses the Maven dependencies task (see http://maven.apache.org/ant-tasks.html) rather than keeping the dependent jars in the repository. When using the nekoHtml parser, tag and attribute names now default to lower case, rather than upper case as before Empty cells from tables are no longer automatically purged when searching for a table by its first non-blank cell Problems fixed: Content and Parsing: bug #1124047 - selecting a select option by index should now throw RuntimeException rather than IndexOutOfBounds if the index is bad bug #1212204 - WebRquest.getQueryString was ignoring parameters without values bug #1277797 - expired cookies are now removed from the client session bug #1283878 - in JDK 1.5, empty error pages were causing FileNotFoundException to be thrown bug #1371204 - there was no way to change or delete a server-supplied cookie from a test bug #1672385 - specifying HttpOnly on a cookie header was causing any specified cookies to be lost bug #1705925 - URL-encoded parameter values were not decoded properly if HttpUnitOptions.setDefaultCharacterSet() is set to something different than ISO-8859-1 bug #1843978 - the value of a SELECT control could not be set if the web page defined a namespace URI bug #1895501 - the applet codebase was defaulting to the root directory, rather than the current directory bug #1954311 - WebForm.setParameter no longer throws NullPointerException when the control is a TextArea patch #1155415 - in some cases, automatic redirects could result in an infinite loop patch #1155792 - could not set the action for a form if its original action had a parameter named "action" patch #1281655 - attempts to parse xml as html were being rejected patch #1443333 - unnamed image buttons now submit positions as "x" and "y" Javascript bug #1289151 - clicking a button was firing the 'onClick' event for disabled buttons bug #1396835 - increading the length of a select control was throwing an exception PseudoServer PseudoServer was incorrectly parsing chunk lengths as decimal rather than hexadecimal ServletUnit The implementation of ServletContext is now public, allowing it to be instantiated via reflection as needed bug #1165454 - HttpServletRequest.getScheme() now returns "https" for secure requests bug #1242640 - Causes of 500 errors are not included in the stack trace bug #1323031 - HttpServletRequest.getPathInfo was not properly decoding spaces in URLs Additions: Content and Parsing: Created a custom HttpUnit DOM Basic authentication now can support authorization only after challenge and different passwords for different realms. Added support for rudimentary (RFC 2109) digest authentication. Added "overrideContextType" property to ClientProperties to permit handling of files served with the wrong content type. Added HttpsProtocolSupport.useProvider to override the default selection of the JSSE for SSL support Added HttpsProtocolSupport.useIBM to select the SSL support provided by IBM WebSphere (which must be in the classpath) patch #844084 - added "sendReferer" property to ClientProperties to permit testing of sites when the referer header is blocked by a firewall or proxy server patch #1518901 - added methods to control connection and read timeouts. patch #1415415 - added (mime types for tiff and pdf) patch #1531005 - getElementsWithAttribute should now work with most attribute names bug #1476380 - cookies are now accepted even if their domain matches exactly Javascript support patch #796961 - javascript events can now be directly invoked on elements patch #884146 - added support for the 'onMouseDown" and 'onMouseUp' events patch #1030851 - added support for 'onBlur' and 'onFocus' events patch #1653410 - added support for arbitrary element attributes ServletUnit HttpRequest.getDateHeader() has been implemented; previously it always returned -1 patch #1246438 - HttpRequest.getReader is now implemented patch #1864072 - now log to a user-specified output stream Pseudoserver: Added WebResource.suppressAutomaticContentTypeHeader to permit generation of responses without the Content-Type header. Improved debugging messages and handle response timeouts. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Httpunit-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/httpunit-develop