# jsdom Changelog ## 16.5.3 * Fixed infinite recursion when using `MutationObserver`s to observe elements inside a `MutationObserver` callback. ## 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 `` does not throw an exception, but instead correctly produces a SVG-namespace `