jsdom v9.10.0 Release Notes
-
- ➕ Added
forEach
,keys
,values
, andentries
methods toNodeList
. - ➕ Added
event.cancelBubble
. - ➕ Added dummy properties
scrollWidth
,scrollHeight
,clientTop
,clientLeft
,clientWidth
, andclientHeight
that always return0
to all elements. (alistairjcbrown) - ⚡️ Updated many aspects of
Blob
,File
, andFileReader
to better match the File API specification. (TimothyGu) - 🛠 Fixed the progress and readystatechange events fired by
XMLHttpRequest
to match recent specification changes and test updates. - 🛠 Fixed
element.getClientRects()
to return an empty array, instead of an array containing a dummy bounding box. (alistairjcbrown) - 🔄 Changed
navigator.vendor
to return"Apple Computer, Inc."
instead of"Google Inc."
, since we have chosen the WebKit navigator compatibility mode.
- ➕ Added