Comments (4)
@capricorn86 Thank you!
from happy-dom.
Example passing (v12.10.3):
https://codesandbox.io/p/devbox/eloquent-shannon-6wqgph?file=%2Findex.test.tsx
Example failing (v13.2.1):
https://codesandbox.io/p/devbox/brave-resonance-9d8f7d?file=%2Findex.test.tsx
from happy-dom.
Workaround is to set:
Object.defineProperty(window.location, 'href', {
writable: true,
});
from happy-dom.
No problem @gkiely! 🙂
from happy-dom.
Related Issues (20)
- Cloned responses do not clone the underlying stream
- [v13] Error: Cannot read properties of null (reading 'subtree') HOT 2
- (regression) TypeError: Cannot set property loading of [object Object] which has only a getter HOT 4
- @testing-library selector `getByLabelText` works differently than `jsdom`
- Add support for `:target` pseudo-selector
- `MutationObserver.observe` check for `options` argument is too strict
- Using `Browser` `close` method in `bun` throws TypeError for missing destroy function
- Is it possible to use HtmlElements for example HTMLTableElement
- Typescript definitions model a private Dom interface instead of using "the" public definitions from lib.dom.d.ts HOT 10
- Improve documentation for global registrator
- Can't parse element attribute without quotes
- Improve documentation
- Fix release notes
- HTTP headers overwritten causing e2e tests to fail
- Problem with calculating next version
- Fails on non-string append values HOT 1
- Add support for PR author to release notes as fallback when the commit author email doesn't match any user
- Remove validation of commit messages in PRs
- Update documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from happy-dom.