diff options
author | snek <snek@deno.com> | 2024-07-09 10:07:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 10:07:56 -0700 |
commit | c461f8fd2e36904b3334c9705726b713712f4a69 (patch) | |
tree | 796892fa6c0427b959e4350ed01bbe4597694779 /tests/node_compat | |
parent | 839caf6fafdf9ca1cdec6cd9cef38296be41145f (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.js | 1 |
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) |