happy-dom icon indicating copy to clipboard operation
happy-dom copied to clipboard

A JavaScript implementation of a web browser without its graphical user interface

Results 250 happy-dom issues
Sort by recently updated
recently updated
newest added

Is it possible to make `fetch` use an HTTP proxy?

The following can be tested directly on https://npm.runkit.com/happy-dom There I entered the following ```js var happyDom = require("happy-dom"); const window = new happyDom.Window(); const document = window.document; document.body.innerHTML = `

bug

Is it possible to disable JS?

This PR addresses the immediate cause of the issues reported in #534. It does not, however, address the underlying issue that react-dom detects the happy-dom environment as a legacy browser...

Works in jsdom https://stackblitz.com/edit/vitest-dev-vitest-ktnq7h?file=test%2Fhappy-dom.test.tsx&initialPath=__vitest__

Is it possible to intercept when happy-dom needs to load additional external resources? I would like to be able to intercept and control those events, decide whether to let it...

When TreeWalker is walking a DOM tree it was not initialised with it throws an error when `nextSibling`/`previousSibling` are called and it reaches the (other DOM tree's) root. Although [the...

Fixes #558 Add additional check to TreeWalker `nextSibling` and `previousSibling` to make sure `this.currentNode.parentNode` exists. Although this fixes my immediate issue, there are plenty of other checks against `this.root` throughout...

Thanks a lot for happy-dom. I think I have discovered that happy-dom is creating attachEvents. ``` // In setup-jest.ts // @ts-ignore if(attachEvent) { // @ts-ignore console.log(typeof attachEvent); // log >>...

bug

Hey, thanks for the library! This is my first contribution to fix CSSMediaRule is not defined issue #455. I added missing type definitions and a unit test.