From e4aa2c64ef142a2247c06faf898a9be16656bc6f Mon Sep 17 00:00:00 2001 From: David Ortner Date: Thu, 21 Sep 2023 01:14:30 +0200 Subject: [PATCH] #1049@patch: Fixes issue related to global.window not referring to global when using GlobalRegistrator from @happy-dom/global-registrator. --- packages/global-registrator/src/GlobalRegistrator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/global-registrator/src/GlobalRegistrator.ts b/packages/global-registrator/src/GlobalRegistrator.ts index f2751a2c0..6ab44e588 100644 --- a/packages/global-registrator/src/GlobalRegistrator.ts +++ b/packages/global-registrator/src/GlobalRegistrator.ts @@ -1,6 +1,6 @@ import { GlobalWindow } from 'happy-dom'; -const IGNORE_LIST = ['undefined', 'NaN', 'global', 'globalThis', 'window', 'globalThis']; +const IGNORE_LIST = ['undefined', 'NaN', 'global', 'globalThis']; const SELF_REFERRING = ['self', 'top', 'parent', 'window']; /**