Skip to content

Commit 5d66130

Browse files
committed
Version 9.4.0
1 parent 8134159 commit 5d66130

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

Changelog.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## 9.4.0
2+
3+
* Added the `DOMParser` API. It is spec-compliant, including producing `<parsererror>` elements, except that the produced documents do not have the same URL as the creating document (they instead always have `"about:blank"`).
4+
* Added strict XML parsing when using `parsingMode: "xml"`. Creating documents will now fail, just like in a browser, when ill-formed XHTML markup is used.
5+
* Added some rudimentary application of XML `<!ENTITY` declarations.
6+
* Added `window.frameElement`, although without appropriate cross-origin security checks.
7+
* Added the `jsdom.evalVMScript` public API.
8+
* Added more custom request agent support: you can now pass `agent` and `agentClass` in addition to `agentOptions`. (frarees)
9+
* Updated our elements-being-disabled semantics to more closely match the spec, in particular with regard to being descendants of `<fieldset disabled>`.
10+
* Updated `FormData` for [recent spec fixes](https://github.com/whatwg/xhr/commit/1a75845e67792418a7721d516266ad01a90f2062): blobs, files, and filenames should now all work like you'd expect.
11+
* Updated the `FormData` constructor to use the proper, rather-complex, [constructing the form data set](https://html.spec.whatwg.org/multipage/forms.html#constructing-form-data-set) algorithm.
12+
* Fixed all constructors that appears as globals on the jsdom `window` object to be non-enumerable.
13+
* Fixed `<script>` elements to load when they gain a `src` attribute while in a document.
14+
* Fixed `<link rel="stylesheet">` elements to load when their `href` attributes change while in a document.
15+
* Fixed the loading of external `<img>`s (when the `canvas` npm package is installed) that were specified via relative URL; this regressed in 9.2.1.
16+
* Fixed `<iframe>` documents to have the correct `referrer` value (viz. the URL of their parent).
17+
* Fixed the value of `input.checked` inside `click` events on checkboxes.
18+
* Fixed the window object's named properties to correctly return the `<iframe>` element or the `<iframe>`'s window in appropriate scenarios involving `name` vs. `id` attributes on the `<iframe>`. (matthewp)
19+
120
## 9.3.0
221

322
* Added the `Audio` named constructor.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsdom",
3-
"version": "9.3.0",
3+
"version": "9.4.0",
44
"description": "A JavaScript implementation of the DOM and HTML standards",
55
"keywords": [
66
"dom",

0 commit comments

Comments
 (0)