jsdom v5.0.1 Release Notes
-
- ๐ Fixed
document.cookie
setter to no longer ignorenull
; instead it correctly sets a cookie of"null"
. (Chrome is not compliant to the spec in this regard.) - ๐ Fixed documents created with
parsingMode: "xml"
to no longer get"<html><head></head><body></body></html>"
automatically inserted when callingjsdom.jsdom()
with no arguments. - ๐ Fixed the
innerHTML
setter to no longer ignoreundefined
; instead it correctly sets the innerHTML to"undefined"
. - ๐ Fixed
document.write
to throw for XML documents as per the spec. - ๐ Fixed
document.write
to accept more than one argument (they get concatenated). - ๐ Fixed
document.write("")
to no longer try to write"<html><head></head><body></body></html>"
.
- ๐ Fixed