jsdom v13.2.0 Release Notes

Release Date: 2019-01-24 // about 5 years ago
    • ➕ Added support for MutationObservers! (pmdartus)
    • ➕ Added support for XML documents loaded in frames and iframes; previously this would error.
    • ➕ Added the <progress> element's value, max, and position properties.
    • ➕ Added navigator.plugins and navigator.mimeTypes. (But, they are always empty.)
    • 🛠 Fixed <summary> elements respond to click events by toggling their parent <details>.
    • 🛠 Fixed <summary> elements to be focusable.
    • 🛠 Fixed XML document DOCTYPE parsing to preserve any custom name values.
    • 🛠 Fixed XML documents to default to UTF-8, not windows-1252 like HTML documents do.
    • 🛠 Fixed all events fired by jsdom to have isTrusted set to true.
    • 🛠 Fixed DOMParser-created documents to have their readyState set to "complete".
    • 🛠 Fixed how nested <fieldset>s get disabled.
    • 🛠 Fixed getComputedStyle() to throw a sensible exception when passed the wrong argument, instead of one that exposes jsdom internals.
    • ⬆️ Upgraded our saxes dependency, so that it now correctly errors on XML fragments like <foo bar:="1"/>.