jsdom v6.2.0 Release Notes
-
- โ Added a full-featured, spec-compliant
Element.prototype.classList
, closing out a three-year old issue! (wacii) - Made
virtualConsole.sendTo(console)
forward"jsdomError"
s toconsole
by callingconsole.error
. This can be turned off by doingvirtualConsole.sendTo(console, { omitJsdomErrors: true })
. - ๐ Fixed errors when trying to parse invalid doctype declarations, like
<!DOCTYPE>
. - ๐ Fixed spurious
"jsdomError"
s that were emitted after callingwindow.close()
. - ๐ Fixed the
DOMSubtreeModified
event to fire in more cases. Note that our mutation events implementation remains incomplete, and will eventually be removed (in a major release) once we implement mutation observers. (selam)
- โ Added a full-featured, spec-compliant