Skip to content

Commit

Permalink
#1049@patch: Fixes issue related to global.window not referring to gl…
Browse files Browse the repository at this point in the history
…obal when using GlobalRegistrator from @happy-dom/global-registrator.
  • Loading branch information
capricorn86 committed Sep 20, 2023
1 parent 94edc94 commit e4aa2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/global-registrator/src/GlobalRegistrator.ts
Original file line number Diff line number Diff line change
@@ -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'];

/**
Expand Down

0 comments on commit e4aa2c6

Please sign in to comment.