jsdom v16.5.0 Release Notes

    • ➕ Added window.queueMicrotask().
    • ➕ Added window.event.
    • ➕ Added inputEvent.inputType. (diegohaz)
    • ✂ Removed ondragexit from Window and friends, per a spec update.
    • 🛠 Fixed the URL of about:blank iframes. Previously it was getting set to the parent's URL. (SimonMueller)
    • 🛠 Fixed the loading of subresources from the filesystem when they had non-ASCII filenames.
    • 🛠 Fixed the hidden="" attribute to cause display: none per the user-agent stylesheet. (ph-fritsche)
    • 🛠 Fixed the new File() constructor to no longer convert / to :, per a pending spec update.
    • 🛠 Fixed mutation observer callbacks to be called with the MutationObserver instance as their this value.
    • 🛠 Fixed <input type=checkbox> and <input type=radio> to be mutable even when disabled, per a spec update.
    • 🛠 Fixed XMLHttpRequest to not fire a redundant final progress event if a progress event was previously fired with the same loaded value. This would usually occur with small files.
    • 🛠 Fixed XMLHttpRequest to expose the Content-Length header on cross-origin responses.
    • 🛠 Fixed xhr.response to return null for failures that occur during the middle of the download.
    • 🛠 Fixed edge cases around passing callback functions or event handlers. (ExE-Boss)
    • 🛠 Fixed edge cases around the properties of proxy-like objects such as localStorage or dataset. (ExE-Boss)
    • 🛠 Fixed a potential memory leak with custom elements (although we could not figure out how to trigger it). (soncodi)