Skip to content

Instantly share code, notes, and snippets.

View maapteh's full-sized avatar
🏠
Working from home

Mаартен - Maarten maapteh

🏠
Working from home
  • The Hague, Moscow
View GitHub Profile
@cpojer
cpojer / jsdom.patch
Last active November 15, 2025 00:09
diff --git a/lib/jsdom/browser/Window.js b/lib/jsdom/browser/Window.js
index 52d011cae61c3688ec64baa5cec411d55edbda9d..298d7ec8d2cc1ea5e974262b978e6041389900f7 100644
--- a/lib/jsdom/browser/Window.js
+++ b/lib/jsdom/browser/Window.js
@@ -507,8 +507,8 @@ function installOwnProperties(window, options) {
// [LegacyUnforgeable]:
window: { configurable: false },
document: { configurable: false },
- location: { configurable: false },
- top: { configurable: false }