Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-10-04 14:11:36 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2020-10-11 17:35:17 +0300
commiteee522ac29864a55a8bc6686e6b38e93270aa1ca (patch)
tree3e7ac32cf16d758f1f7480fcb7ef47070c005391 /src/node_external_reference.h
parent705d888387f7a58c10711acbe5a4661c496969ad (diff)
lib: add EventTarget-related browser globals
Add - Event - EventTarget - MessagePort - MessageChannel - MessageEvent to the set of global objects, since they are available now and behave like they do in the browser. Fixes: https://github.com/nodejs/node/issues/35495 PR-URL: https://github.com/nodejs/node/pull/35496 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Khaidi Chu <i@2333.moe>
Diffstat (limited to 'src/node_external_reference.h')
-rw-r--r--src/node_external_reference.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_external_reference.h b/src/node_external_reference.h
index f332103c3f5..0544979dd9a 100644
--- a/src/node_external_reference.h
+++ b/src/node_external_reference.h
@@ -64,7 +64,8 @@ class ExternalReferenceRegistry {
V(string_decoder) \
V(trace_events) \
V(timers) \
- V(types)
+ V(types) \
+ V(worker)
#if NODE_HAVE_I18N_SUPPORT
#define EXTERNAL_REFERENCE_BINDING_LIST_I18N(V) V(icu)