github capricorn86/happy-dom v14.2.1

latest releases: v15.9.0, v15.8.5, v15.8.4...
7 months ago

👷‍♂️ 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')

Don't miss a new happy-dom release

NewReleases is sending notifications on new releases.