Mozes Stumpf

Results 7 issues of Mozes Stumpf

### Version 29.5.0 ### Steps to reproduce ``` it("tests the node's properties", () => { const text1 = document.createTextNode("text"); text1.customProperty = "customProperty"; const text2 = document.createTextNode("text"); expect(text1).toEqual(text2); // Passed });...

Needs Triage
Bug Report
Stale

### Describe the bug `Range.compareBoundaryPoints` should throw error if the compared ranges' boundary-point's are in different tree. Documentation: [Range.compareBoundaryPoints](https://dom.spec.whatwg.org/#dom-range-compareboundarypoints) 2nd point: > If [this](https://webidl.spec.whatwg.org/#this)’s [root](https://dom.spec.whatwg.org/#concept-range-root) is not the same as...

upstream

### Describe the bug Vitest extension in vscode shows TypeError after assigning a `Set` to a private property in a constructor. ![image](https://github.com/vitest-dev/vitest/assets/78926228/61ebfb0b-371e-4815-95c7-85ce83f6e542) ### Reproduction 1. Open the `Debugger.test.ts` file. 2....

pending triage

**Describe the bug** When changing the `HTMLElement.contentEditable` property, the element does not get the `contenteditable` attribute. **To Reproduce** Repository to reproduce: https://github.com/mozesstumpf/contentEditable-attribute-should-change ``` test("ContentEditable attribute should change", () => {...

bug

**Describe the bug** `Range.compareBoundaryPoints` should throw error instead of returning -1. **To Reproduce** Repo to reproduce: [compare-boundary-points-error](https://github.com/mozesstumpf/vitest-compareBoundaryPoints-error) ``` const text1 = document.createElement("text"); const text2 = document.createElement("text"); const range = new...

bug

### 🔎 Search Terms incorrect type while loop ### 🕗 Version & Regression Information Worked correctly in version 4.2.3. It doesn't work since 4.3.5. ### ⏯ Playground Link https://www.typescriptlang.org/play/?ts=5.5.4#code/MYGwhgzhAEDCAWBLEATaBTAHgF3QOxRgAkAVAWQBkBREdAW322gG8AoASAHN0mAHMAE6MAFAEoWHdsAD2eCE2bR+QvNhr1G0AL7QAvNGxIIAblaTEAM2jCAhMOWN1DVdERzsYPMHTSrABUFGUXE2djChbABXATxoPEiQEFMwrTNwnmjYh1UnRmTU1NZQSBgAlSYsXAJicmpaZwUObj5A1TEJMJl3FiVWtXrNHX1DRBM09ktrO2z+jRc3eU9vX2gAcQFPFDKgkMl2CMy4hKTJQvSomN7y3NV81kLiqDWNgm2XSvxCaFJKG8auHhXES7TqyeQ9GZ-bR6AxGUzmKy2ex9KELDxeHxWdboMDYdabN7YYIdc6HeKJZLsM77DKXSEDW4cApmR4wbG4-GvPoYHCfGq-Bn-ZpAtogmkXWLkk5U+4syLyaR0P4QAB0KHQFjc6GEACJgABaYBIVA6gA0cGNKFEpmA8uwiuVao1Wt1BpmZughOtRTtDsFqvVmrw2r1+s4LxQ+vd5s5Wz63ttCqV-qdQZDBvDOOwYYjUb6HvZeIjXvh2AAnrx0J6Uf6YYXY4ToAAfZ4E7ktwnwrrgo3IND6YMAdwtfbE8NoTFtAnKhIAXNXrrWW1KYb3UCqZvDB8aq8IpzP4x1u9JaCqQNJOHvogfytboAB6e-QCDwaQJNAAIyr9eL7dbXPKZsF0YNJ90YRt9DA1RCQ3PpTFSIA ###...

Bug
Help Wanted

**Describe the bug** `Node.getRootNode({ composed: false })` retunrs the `Node` itself instead of the `ShadowRoot` if we do not add the `ShadowRoot` into the `document`. **To Reproduce** ```ts import {...

bug