summaryrefslogtreecommitdiff
path: root/tests/node_compat
diff options
context:
space:
mode:
authorsnek <snek@deno.com>2024-07-09 10:07:56 -0700
committerGitHub <noreply@github.com>2024-07-09 10:07:56 -0700
commitc461f8fd2e36904b3334c9705726b713712f4a69 (patch)
tree796892fa6c0427b959e4350ed01bbe4597694779 /tests/node_compat
parent839caf6fafdf9ca1cdec6cd9cef38296be41145f (diff)
fix: do not return undefined for missing global properties (#24474)
accessing e.g. `Buffer` in `Mode::Deno` mode should throw, not return undefined. --------- Signed-off-by: snek <snek@deno.com>
Diffstat (limited to 'tests/node_compat')
-rw-r--r--tests/node_compat/test/common/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/node_compat/test/common/index.js b/tests/node_compat/test/common/index.js
index 2ebb22da2..bc1ea05e4 100644
--- a/tests/node_compat/test/common/index.js
+++ b/tests/node_compat/test/common/index.js
@@ -62,7 +62,6 @@ let knownGlobals = [
self,
sessionStorage,
setImmediate,
- window,
];
if (global.AbortController)