jsdom v9.2.1 Release Notes
-
- ๐ Fixed
<input>
'sselectionStart
,selectionEnd
, andselectionDirection
getters to return null, instead of throwing, for elements that do not allow selection, per a recent spec change. - ๐ Fixed
<base>
'shref
getter logic to return the attribute value instead of the empty string for unparseable URLs, per a recent spec change. - ๐ Fixed the referrer sent when retrieving external resources to be the document's URL, not the document's base URL.
- ๐ Fixed suppression of all
error
events onwindow
beyond the first one. - ๐ Fixed
new URL
to correctly throw for unparseable URLs, and all ofURL
's setters to correctly ignore invalid input instead of throwing. - ๐ Fixed
StyleSheetList.prototype.item
to returnnull
instead ofundefined
for out-of-bounds indices. (Ginden) - ๐
Updated
cssstyle
minimum version to ensure all jsdom installs (not just fresh ones) get the benefit ofcssstyle
's recently-betterbackground
andwidth
setters.
- ๐ Fixed