npm jsdom 5.0.1

latest releases: 31.0.0, 30.1.3, 30.1.2...
11 years ago
  • Fixed document.cookie setter to no longer ignore null; 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 calling jsdom.jsdom() with no arguments.
  • Fixed the innerHTML setter to no longer ignore undefined; 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>".

Don't miss a new jsdom release

NewReleases is sending notifications on new releases.