Skip to content

Commit

Permalink
Version 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Apr 16, 2015
1 parent 25f0f81 commit 44743d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Changelog.md
@@ -1,3 +1,12 @@
## 5.0.1

* 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>"`.

## 5.0.0

This release overhauls how cookies are handled in jsdom to be less fiddly and more like-a-browser. The work for this was done by [@inikulin](https://github.com/inikulin), who is also our beloved parse5 maintainer.
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jsdom",
"version": "5.0.0",
"version": "5.0.1",
"description": "A JavaScript implementation of the DOM and HTML standards",
"keywords": [
"dom",
Expand Down

0 comments on commit 44743d8

Please sign in to comment.