jsdom v10.1.0 Release Notes
-
- ➕ Added the value sanitization algorithm for password, search, tel, text, color, email, and url input types. (Zirro)
- ➕ Added
Symbol.toStringTag
to all web platform classes, so that nowObject.prototype.toString.call()
works as expected on jsdom objects. - ➕ Added the
select.selectedOptions
property. - ✂ Removed the
toString()
methods on various prototypes that returned"[object ClassName]"
in an attempt to fake theSymbol.toStringTag
behavior. - 🔄 Changed
XMLHttpRequest
to pre-allocate a 1 MiB buffer, which it grows exponentially as needed, in order to avoid frequent buffer allocation and concatenation. (skygon) - 🛠 Fixed a variety of properties that were meant to always return the same object, to actually do so. (Zirro)
- 🛠 Fixed inheritance of the
runScripts
andresources
options into iframes. - 🛠 Fixed an uncaught exception that occurred if you called
xhr.abort()
during areadystatechange
event.