HtmlUnit 4.2.0
Highlights
-
This release is not compatible with 3.xx versions
-
Chrome/Edge 125, Firefox 126
-
improved fragment parsing
-
function Element.getHTML() added for Chrome/Edge
-
handling of Attachments is improved. Now we treat responses only haven and Content-Type header of application/octetstream in the same way as if the Content-Disposition header was set to attachment. This is was real browsers also do
-
prevent iframes from loading local resource for security reason (reading local file resources is still allowed if the enclosing document itself was loaded from file)
-
prevent XMLHttpRequest from loading local resource for security reason.
-
as usual a bunch of fixes
Please have a look at the full release notes for details about this release.
💕 Thank you to all who have contributed and to the sponsors (more sponsoring is welcome https://github.com/sponsors/rbri).
Full Changelog: 4.1.0...4.2.0