Skip to content

v14.2.1

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Mar 14:59
2ce84c0

👷‍♂️ Patch fixes

  • Binds getters and setters on all Window classes (not only GlobalWindow), so that they will be available when calling Object.getOwnPropertyDescriptors() - By @capricorn86 in task #1343
    • The reason for this change is that JSDOM and browsers has these properties as part of the Window instance and not the prototype
    • Happy DOM will now behave correctly when overriding a property on Window with spyOn(window, 'property') or Object.defineProperty(window, 'property')