jsdom v16.5.0 Release Notes
-
- ➕ Added
window.queueMicrotask()
. - ➕ Added
window.event
. - ➕ Added
inputEvent.inputType
. (diegohaz) - ✂ Removed
ondragexit
fromWindow
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 causedisplay: 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 theirthis
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 finalprogress
event if aprogress
event was previously fired with the sameloaded
value. This would usually occur with small files. - 🛠 Fixed
XMLHttpRequest
to expose theContent-Length
header on cross-origin responses. - 🛠 Fixed
xhr.response
to returnnull
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
ordataset
. (ExE-Boss) - 🛠 Fixed a potential memory leak with custom elements (although we could not figure out how to trigger it). (soncodi)
- ➕ Added