Skip to content

Commit

Permalink
Version 16.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Mar 28, 2021
1 parent d5cfd69 commit bd50bbe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS.txt
Expand Up @@ -261,6 +261,7 @@ Sebastian McKenzie <sebmck@gmail.com>
Sebastian Silbermann <silbermann.sebastian@gmail.com>
Sergei Ianovich <s@asutp.io>
Shimon Doodkin <helpmepro1@gmail.com>
Silvio Tomatis <silviot@gmail.com>
Simen Bekkhus <sbekkhus91@gmail.com>
Simon Müller <SimonMueller@users.noreply.github.com>
sonnym <michaud.sonny@gmail.com>
Expand Down
16 changes: 16 additions & 0 deletions Changelog.md
Expand Up @@ -26,6 +26,22 @@ Other guidelines:
* Roughly order changes within those groupings by impact.
-->

## 16.5.2

* Fixed `Access-Control-Allow-Headers: *` to work with `XMLHttpRequest`. (silviot)
* Fixed `xhr.response` to strip any leading BOM when `xhr.responseType` is `"json"`.
* Fixed `new Text()` and `new Comment()` constructors to properly set the resulting node's `ownerDocument`.
* Fixed `customElements.whenDefined()` to resolve its returned promise with the custom element constructor, per recent spec updates. (ExE-Boss)
* Fixed parsing to ensure that `<svg><template></template></svg>` does not throw an exception, but instead correctly produces a SVG-namespace `<template>` element.
* Fixed `domParser.parseFromString()` to treat `<noscript>` elements appropriately.
* Fixed form control validity checking when the control was outside the `<form>` element and instead associated using the `form=""` attribute.
* Fixed `legendEl.form` to return the correct result based on its parent `<fieldset>`.
* Fixed `optionEl.text` to exclude `<script>` descendants.
* Fixed radio buttons and checkboxes to not fire `input` and `change` events when disconnected.
* Fixed `inputEl.indeterminate` to reset to its previous value when canceling a `click` event on a checkbox or radio button.
* Fixed the behavior of event handler attributes (e.g. `onclick="...code..."`) when there were global variables named `element` or `formOwner`. (ExE-Boss)
* On Node.js v14.6.0+ where `WeakRef`s are available, fixed `NodeIterator` to no longer stop working when more than ten `NodeIterator` instances are created, and to use less memory due to inactive `NodeIterator`s sticking around. (ExE-Boss)

## 16.5.1

* Fixed a regression that broke `customElements.get()` in v16.5.0. (fdesforges)
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jsdom",
"version": "16.5.1",
"version": "16.5.2",
"description": "A JavaScript implementation of many web standards",
"keywords": [
"dom",
Expand Down

0 comments on commit bd50bbe

Please sign in to comment.