summaryrefslogtreecommitdiff
path: root/cli/tests/node_compat/test/common/index.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-10-09 00:12:59 +0200
committerGitHub <noreply@github.com>2023-10-08 22:12:59 +0000
commitdfc254cd57683f394f1b5fdca8c75200b2a9969d (patch)
tree25315d8183196486dbebae9d83dd7d2b00a65cec /cli/tests/node_compat/test/common/index.js
parentd41d3b8e2f6079d806fb4bc4845b9ad681c20f00 (diff)
fix: define window.name (#20804)
Closes https://github.com/denoland/deno/issues/20750 This matches what browsers do: https://developer.mozilla.org/en-US/docs/Web/API/Window/name In the future we might want to change the behavior to actually update the process name, but that needs a bit of discussion regarding if it needs a permission flag (that would make polyfiling `process.title` setter really easy too).
Diffstat (limited to 'cli/tests/node_compat/test/common/index.js')
-rw-r--r--cli/tests/node_compat/test/common/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/node_compat/test/common/index.js b/cli/tests/node_compat/test/common/index.js
index 0f6019746..f398108cd 100644
--- a/cli/tests/node_compat/test/common/index.js
+++ b/cli/tests/node_compat/test/common/index.js
@@ -46,6 +46,7 @@ let knownGlobals = [
global.setTimeout,
localStorage,
location,
+ name,
navigator,
onload,
onunload,